@cznec/screenshot-compare
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -16,3 +16,3 @@ #!/usr/bin/env node | ||
itemsNames, | ||
__dirname, | ||
pwd: process.env.PWD, | ||
mode: 'collect' | ||
@@ -28,3 +28,3 @@ }) | ||
itemsNames, | ||
__dirname, | ||
pwd: process.env.PWD, | ||
mode: 'test' | ||
@@ -31,0 +31,0 @@ }) |
{ | ||
"name": "@cznec/screenshot-compare", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"homepage": "https://github.com/cznec/screenshot-compare", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -22,3 +22,3 @@ const prompts = require('prompts') | ||
this.collectionPath = path.join(this.opt.__dirname, this.opt.collectionPath) | ||
this.collectionPath = path.join(this.opt.pwd, this.opt.collectionPath) | ||
@@ -48,3 +48,3 @@ this.mode = this.opt.mode ? this.opt.mode : 'test' | ||
if (!this.opt.collectionPath) this.error('collectionPath parameter is required') | ||
if (!this.opt.__dirname) this.error('__dirname parameter is required') | ||
if (!this.opt.pwd) this.error('pwd parameter is required') | ||
} | ||
@@ -51,0 +51,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9101
5