Commit cbec164a authored by Zlatan Vasović's avatar Zlatan Vasović

Remove redundant parens

parent 41b28689
...@@ -17,7 +17,7 @@ var DEST_FILE = 'test-infra/npm-shrinkwrap.canonical.json'; ...@@ -17,7 +17,7 @@ var DEST_FILE = 'test-infra/npm-shrinkwrap.canonical.json';
function cleanup(shrinkwrap) { function cleanup(shrinkwrap) {
// Remove `resolved` property to avoid irrelevant changes // Remove `resolved` property to avoid irrelevant changes
// See https://github.com/npm/npm/issues/3581 // See https://github.com/npm/npm/issues/3581
if ((typeof shrinkwrap) === 'string') { if (typeof shrinkwrap === 'string') {
return shrinkwrap; return shrinkwrap;
} }
delete shrinkwrap.resolved; delete shrinkwrap.resolved;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment