Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 961ceb9

Browse files
authored
fix(misc): use strict to fix node@4 (#2)
1 parent 6f89f86 commit 961ceb9

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
exports = module.exports = lifecycle
24
exports.makeEnv = makeEnv
35
exports._incorrectWorkingDirectory = _incorrectWorkingDirectory

lib/spawn.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
module.exports = spawn
24

35
const _spawn = require('child_process').spawn

test/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
const test = require('tap').test
24
const lifecycle = require('../index.js')
35

0 commit comments

Comments
 (0)