Skip to content

Commit

Permalink
Modify inspect bin to utilzie shorthand property name syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaridmargolin committed Jan 1, 2017
1 parent cb137fc commit 66a73eb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bin/inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,7 @@ nodeflags((err, flags) => {
return inspectFlags.includes(arg.split('=')[0])
})(processArgs)

inspect(cmd, {
nodeArgs: nodeArgs,
childArgs: childArgs,
inspectOptions: inspectOptions
})
inspect(cmd, { nodeArgs, childArgs, inspectOptions })
.then(() => process.exit())
.catch(() => process.exit(1))
})

0 comments on commit 66a73eb

Please sign in to comment.