Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Goo committed Jun 28, 2019
1 parent 7e04277 commit eb282d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/screenshot/infra/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ class BuildCommand {
await this.buildHtmlFiles_(shouldWatch);

if (shouldWatch) {
this.processManager_.spawnChildProcess('npm', ['run', 'screenshot:webpack', '--', '--watch', '--mode=development']);
this.processManager_.spawnChildProcess('npm', [
'run', 'screenshot:webpack', '--', '--watch', '--mode=development']);
} else {
this.processManager_.spawnChildProcessSync('npm', ['run', 'screenshot:webpack', '--', '--mode=development']);
this.processManager_.spawnChildProcessSync('npm', [
'run', 'screenshot:webpack', '--', '--mode=development']);
}

this.logger_.foldEnd('screenshot.build');
Expand Down

0 comments on commit eb282d8

Please sign in to comment.