Skip to content

Commit 597670e

Browse files
committed
run_tests_in_ci.js: minor cleanup
1 parent 5edef6a commit 597670e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/run_tests_in_ci.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ const argv = yargs.options({
6161
let scriptName = argv.s;
6262
const dir = path.resolve(myPath);
6363
const { name } = require(`${dir}/package.json`);
64-
const safeName = name.replace(/@/g, 'at_').replace(/\//g, '_');
6564
const testOutputFile = path.join(
6665
LOGDIR,
6766
`${getPathSafeName(name)}-ci-log.txt`
@@ -88,7 +87,7 @@ const argv = yargs.options({
8887
});
8988

9089
const resultStr = exitCode === 0 ? 'Success' : 'Failure';
91-
console.log(`${resultStr}: ` + name);
90+
console.log(`${resultStr}: ${name}`);
9291
await printFile(testOutputFile);
9392

9493
fs.writeFileSync(

0 commit comments

Comments
 (0)