shell:shrinkwrap needs path separator conversion also.

This commit is contained in:
ccd0 2016-04-09 19:32:51 -07:00
parent 7674a2074d
commit 6e95bb19d8

View File

@ -198,10 +198,10 @@ module.exports = (grunt) ->
update: update:
command: """ command: """
npm install --save-dev <%= Object.keys(pkg.devDependencies).filter(function(name) {return /^\\^/.test(pkg.devDependencies[name]);}).map(function(name) {return name+'@latest';}).join(' ') %> npm install --save-dev <%= Object.keys(pkg.devDependencies).filter(function(name) {return /^\\^/.test(pkg.devDependencies[name]);}).map(function(name) {return name+'@latest';}).join(' ') %>
./node_modules/.bin/npm-shrinkwrap --dev node_modules/.bin/npm-shrinkwrap --dev
""".split('\n').join('&&').replace(/\//g, path.sep) """.split('\n').join('&&').replace(/\//g, path.sep)
shrinkwrap: shrinkwrap:
command: './node_modules/.bin/npm-shrinkwrap --dev' command: 'node_modules/.bin/npm-shrinkwrap --dev'.replace(/\//g, path.sep)
watch: watch:
options: options: