Skip to content

Commit

Permalink
fix(print): offset script
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Feb 23, 2017
1 parent 0eb4dfb commit cd3d7b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/quick-run.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ const printNames = require('json-package').printNames
const run = require('./run')

function printAllScripts (pkg) {
var names = Object.keys(pkg.scripts).map(function (k) { return k + '\n ' + pkg.scripts[k] })
var names = Object.keys(pkg.scripts)
.map(function (k) {
return k + '\n ' + pkg.scripts[k]
})

printNames('Available scripts are', names)
}
Expand Down

0 comments on commit cd3d7b9

Please sign in to comment.