Remove redundant parens

This commit is contained in:
Zlatan Vasović 2014-03-08 10:44:24 +01:00
parent 41b2868906
commit cbec164a50
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ var DEST_FILE = 'test-infra/npm-shrinkwrap.canonical.json';
function cleanup(shrinkwrap) {
// Remove `resolved` property to avoid irrelevant changes
// See https://github.com/npm/npm/issues/3581
if ((typeof shrinkwrap) === 'string') {
if (typeof shrinkwrap === 'string') {
return shrinkwrap;
}
delete shrinkwrap.resolved;