Skip to content

Commit

Permalink
Merge pull request nteract#2412 from jkornblum/yargs-error
Browse files Browse the repository at this point in the history
fix(index): fix YERROR in notebook index.js
  • Loading branch information
rgbkrk authored Jan 24, 2018
2 parents 0f73419 + 9c80b9c commit 723cc9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/desktop/src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const path = require("path");

const yargs = require("yargs/yargs");
const argv = yargs()
.version(() => require("./../../package.json").version)
.version((() => require("./../../package.json").version)())
.usage("Usage: nteract <notebooks> [options]")
.example("nteract notebook1.ipynb notebook2.ipynb", "Open notebooks")
.example("nteract --kernel javascript", "Launch a kernel")
Expand Down

0 comments on commit 723cc9c

Please sign in to comment.