Skip to content

Commit

Permalink
Add use strict to unify script
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace Nassri committed Jan 10, 2017
1 parent 9cb51ae commit 7b02ead
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/unify
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env node
'use strict'

// Copyright 2016, Google, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -42,7 +42,7 @@ for (const dir of directories) {
}
}

// Update root-level package.json (by shelling to npm)
// Update root-level package.json (by shelling to yarn)
const spawn = require('child_process').spawn;
process.chdir(PROJECT_ROOT);
Object.keys(pkgSet).forEach(pkg => spawn(`yarn`, [`add`, `${pkg}@${pkgSet[pkg]}`]));
Expand Down

0 comments on commit 7b02ead

Please sign in to comment.