Skip to content

Commit

Permalink
final cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: zFernand0 <fernando.rijocedeno@broadcom.com>
  • Loading branch information
zFernand0 committed Oct 14, 2019
1 parent dd17cf4 commit 339353c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/org/zowe/pipelines/nodejs/NodeJSPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -909,9 +909,7 @@ class NodeJSPipeline extends GenericPipeline {
} else {
// Let's parse the object we got
def depScope = "${depInfo.name.indexOf('/') >= 0 ? depInfo.name.substring(0, depInfo.name.indexOf('/')) : ''}"
steps.echo "depScope: $depScope"
def depReg = depScope ? "--$depScope:registry=$depInfo.registry" : "--registry=$depInfo.registry"
steps.echo "depReg: $depReg"
steps.sh "npm install --save${isDevDep ? '-dev' : ''} --save-exact $depInfo.name@$depInfo.version ${depInfo.registry ? depReg : ''}"
}
}
Expand Down

0 comments on commit 339353c

Please sign in to comment.