Skip to content

Commit

Permalink
fix: Use strict mode to fix syntax error on Node 4
Browse files Browse the repository at this point in the history
Fix error: SyntaxError: Identifier 'flag' has already been declared

Fixes #49
  • Loading branch information
pvdlg authored and rmehner committed Aug 16, 2017
1 parent ae87c20 commit 17c43f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/update-lockfile.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

const exec = require('child_process').execSync

const semver = require('semver')
Expand Down

0 comments on commit 17c43f6

Please sign in to comment.