couple of tweaks
This commit is contained in:
1 parent
6531650a39
commit
bd312484a9
7 files changed
+19
-9
No files matched your search
+2
-2
@@ -1,7 +1,7 @@
|
||||
const rokuDeploy = require('roku-deploy');
|
||||
const dotenv = require('dotenv');
|
||||
const fs = require('fs');
|
||||
const { exit } = require('process');
|
||||
const getEnvVars = require('./get-env-vars');
|
||||
|
||||
if(process.argv.length !== 3) {
|
||||
console.error("Invalid usage! usage: npm run screenshot -- filename");
|
||||
@@ -9,7 +9,7 @@ if(process.argv.length !== 3) {
|
||||
}
|
||||
|
||||
const filename = process.argv[2];
|
||||
const config = dotenv.parse(fs.readFileSync('.vscode/.env'));
|
||||
const config = getEnvVars();
|
||||
|
||||
const options = {
|
||||
host: config.ROKU_DEV_TARGET,
|
||||
|
||||
Reference in new issue
Block a user