Skip to content

Commit

Permalink
hof
Browse files Browse the repository at this point in the history
  • Loading branch information
skibz committed Jun 30, 2016
1 parent 18f8dc8 commit 8396bd6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/new-route
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ var routeName = process.argv[2]
var fs = require('fs')

if (!routeName) {
return process.stdout.write('new-route ERROR: No route name given\n', function () {
process.exit()
})
return process.stdout.write(
'new-route ERROR: No route name given\n',
process.exit
)
}

routeName = routeName.split(' ').join('-')
Expand Down

0 comments on commit 8396bd6

Please sign in to comment.