We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89c6eb5 commit 4bb4ce2Copy full SHA for 4bb4ce2
1 file changed
dist/index.js
@@ -66,16 +66,15 @@ const install = () => io
66
if(PROJECT_DIR)
67
process.chdir(`./${PROJECT_DIR}`)
68
69
- return exec.exec(npm, 'i')
+ return exec.exec(npm, ['i', '--registry', REGISTRY])
70
})
71
72
const test = () => io
73
.which('npm', true)
74
.then(npm => exec.exec(npm, 'test'))
75
76
77
-setRegistry()
78
-.then(install)
+install()
79
.then(test)
80
.catch(error => {
81
console.error(error)
0 commit comments