diff --git a/bin/cli.js b/bin/cli.js index 71c7174..a9e3c5d 100644 --- a/bin/cli.js +++ b/bin/cli.js @@ -41,7 +41,7 @@ if (screenshot) { // It is not an absolute path, so it is relative to the current command-line directory screenshot = path.join(process.cwd(), screenshot); } - options.screenshot = cli.flags.screenshot + options.screenshot = cli.flags.screenshot; }