Resolve dependabot alerts

This commit is contained in:
vsvipul 2022-01-31 12:06:04 +05:30
parent 934cc8fa30
commit 051d7bc106
3 changed files with 5081 additions and 3961 deletions

View file

@ -17,7 +17,7 @@ const processStdoutWrite = process.stdout.write.bind(process.stdout);
process.stdout.write = (str, encoding, cb) => {
// Core library will directly call process.stdout.write for commands
// We don't want :: commands to be executed by the runner during tests
if (!str.match(/^::/)) {
if (!String(str).match(/^::/)) {
return processStdoutWrite(str, encoding, cb);
}
};