check-side-effects
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -122,3 +122,3 @@ #!/usr/bin/env node | ||
expectedOutput = void 0; | ||
if (fs_1.existsSync(testPath)) { | ||
if (fs_1.existsSync(expectedOutputPath)) { | ||
expectedOutput = fs_1.readFileSync(expectedOutputPath, 'utf-8'); | ||
@@ -151,3 +151,3 @@ } | ||
throw "Tests failed for modules:\n" + failedExpectationsDescription + "\n" + | ||
"\nRun 'check-side-effects --test --update' to update the expectations.\n"; | ||
"\nTo update the expectations, run this command again with the --update flag.\n"; | ||
} | ||
@@ -154,0 +154,0 @@ } |
{ | ||
"name": "check-side-effects", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Check if a ES module has side effects.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/filipesilva/check-side-effects", |
Sorry, the diff of this file is not supported yet
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
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
33713