Skip to content

Commit 7723545

Browse files
committed
rename variable
1 parent 9b884ac commit 7723545

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/run_tests_in_ci.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ const { spawn } = require('child-process-promise');
2424
const dir = path.resolve(myPath);
2525
const { name } = require(`${dir}/package.json`);
2626

27-
let stdio = '';
27+
let stdout = '';
2828
let stderr = '';
2929
try {
3030
const testProcess = spawn('yarn', ['--cwd', dir, 'test']);
3131

3232
testProcess.childProcess.stdout.on('data', data => {
33-
stdio += data.toString();
33+
stdout += data.toString();
3434
});
3535
testProcess.childProcess.stderr.on('data', data => {
3636
stderr += data.toString();
@@ -40,7 +40,7 @@ const { spawn } = require('child-process-promise');
4040
console.log('Success: ' + name);
4141
} catch (e) {
4242
console.error('Failure: ' + name);
43-
console.log(stdio);
43+
console.log(stdout);
4444
console.error(stderr);
4545
process.exit(1);
4646
}

0 commit comments

Comments
 (0)