Skip to content

Commit

Permalink
improvement: get source maps working in error tracebacks
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Jun 7, 2019
1 parent 995c509 commit 36959ce
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions garden-service/bin/garden
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env node

require("source-map-support").install()

const cli = require("../build/src/cli/cli")

cli.run()
2 changes: 2 additions & 0 deletions garden-service/bin/garden-debug
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env node --inspect

require("source-map-support").install()

const cli = require("../build/src/cli/cli")

cli.run()
4 changes: 1 addition & 3 deletions garden-service/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions garden-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"path-is-inside": "^1.0.2",
"request": "^2.88.0",
"request-promise": "^4.2.4",
"source-map-support": "^0.5.12",
"split": "^1.0.1",
"string-width": "^4.1.0",
"strip-ansi": "^5.2.0",
Expand Down

0 comments on commit 36959ce

Please sign in to comment.