Skip to content

Commit 4ab9886

Browse files
jkwluiJustinBeckwith
authored andcommitted
refactor: wrap execSync with encoding: utf-8 (#188)
1 parent 23c0845 commit 4ab9886

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dataproc/system-test/quickstart.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
*/
1515

1616
const {assert} = require('chai');
17-
const {execSync} = require('child_process');
17+
const cp = require('child_process');
18+
19+
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
1820

1921
describe('dataproc samples', () => {
2022
it('should run the quickstart', async () => {

0 commit comments

Comments
 (0)