Skip to main content
Version: Next

runCheck()

Home > @backstage/cli-common > runCheck

Runs a command and returns true if it exits with code 0, false otherwise.

Signature:

function runCheck(args: string[]): Promise<boolean>;

Parameters

Parameter

Type

Description

args

string[]

Returns:

Promise<boolean>