Remove redundant parens
This commit is contained in:
parent
41b2868906
commit
cbec164a50
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue