Skip to content

Commit 4bb4ce2

Browse files
authored
Eh [1]
1 parent 89c6eb5 commit 4bb4ce2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

dist/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,15 @@ const install = () => io
6666
if(PROJECT_DIR)
6767
process.chdir(`./${PROJECT_DIR}`)
6868

69-
return exec.exec(npm, 'i')
69+
return exec.exec(npm, ['i', '--registry', REGISTRY])
7070
})
7171

7272
const test = () => io
7373
.which('npm', true)
7474
.then(npm => exec.exec(npm, 'test'))
7575

7676

77-
setRegistry()
78-
.then(install)
77+
install()
7978
.then(test)
8079
.catch(error => {
8180
console.error(error)

0 commit comments

Comments
 (0)