Skip to content

Commit

Permalink
Fixed up assertion for encodedUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
twolfson committed Jun 18, 2019
1 parent 8654a4a commit 36f1ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/electron-launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ program.allowUnknownOption();
// Parse and assert our arguments
program.parse(process.argv);
assert(program.userDataDir, 'Expected `--user-data-dir` to be provided but it was not.');
assert(program.url, 'Expected `--url` to be provided but it was not.');
assert(program.encodedUrl, 'Expected `--encoded-url` to be provided but it was not.');

// When all windows are closed, exit out
app.on('window-all-closed', function handleWindowsClosed () {
Expand Down

0 comments on commit 36f1ef8

Please sign in to comment.