Skip to content

Commit

Permalink
refactor: wrap execSync with encoding: utf-8 (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwlui authored and NimJay committed Nov 19, 2022
1 parent b99bad1 commit cab5152
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dataproc/system-test/quickstart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
*/

const {assert} = require('chai');
const {execSync} = require('child_process');
const cp = require('child_process');

const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});

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

0 comments on commit cab5152

Please sign in to comment.