Skip to content

Commit a7c7ff3

Browse files
committed
Add an ENV variable to allow opting out.
When testing a new version of a dependency, I often resort to removing the dependency checker from the `package.json` temporarily. This PR allows opting out via an explicit environment variable to make testing updated dependencies easier. ``` SKIP_DEPENDENCY_CHECKER=true ember s ```
1 parent f367c35 commit a7c7ff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dependency-checker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function EmberCLIDependencyChecker(project) {
2121

2222
EmberCLIDependencyChecker.prototype.checkDependencies = function() {
2323

24-
if(alreadyChecked) {
24+
if(alreadyChecked || process.env.SKIP_DEPENDENCY_CHECKER) {
2525
return;
2626
}
2727

0 commit comments

Comments
 (0)