Skip to content

Commit 81e6bc4

Browse files
author
Ace Nassri
committed
Address comments + fix lint
1 parent b2ab69c commit 81e6bc4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/unify

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use strict'
1+
'use strict';
22

33
// Copyright 2016, Google, Inc.
44
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -24,12 +24,12 @@ const directories = fs.readdirSync(PROJECT_ROOT)
2424

2525
// Dedupe package.json dependencies
2626
// WARNING: This will fail if two different versions of the same package are required.
27-
let pkgSet = {};
27+
const pkgSet = {};
2828
let pkgJson;
2929
directories.forEach((dir) => {
3030
pkgJson = JSON.parse(fs.readFileSync(path.join(PROJECT_ROOT, dir, `package.json`)));
3131
Object.assign(pkgSet, pkgJson.dependencies);
32-
})
32+
});
3333

3434
// Update root-level package.json (by shelling to npm)
3535
const spawn = require('child_process').spawn;

0 commit comments

Comments
 (0)