Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit e556bca

Browse files
authored
Add workaround to avoid warning messages (#3442)
1 parent a64915c commit e556bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/botskills/src/utils/childProcessUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class ChildProcessUtils {
3232
childProcess.exec(
3333
`${ command } ${ args.join(' ') }`,
3434
(err: childProcess.ExecException | null, stdout: string, stderr: string): void => {
35-
if (stderr && !stderr.includes('Update available')) {
35+
if (stderr && !stderr.includes('Update available') && !stderr.toLowerCase().includes('warning')) {
3636
pReject(stderr);
3737
}
3838
pResolve(stdout);

0 commit comments

Comments
 (0)