Skip to content
This repository has been archived by the owner on May 1, 2022. It is now read-only.

Commit

Permalink
Protect me from my own insanity (continued).
Browse files Browse the repository at this point in the history
  • Loading branch information
Roel van Uden committed May 28, 2016
1 parent adbcd8b commit fbe978d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ezpz-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ var childProcess = require('child_process');
var fs = require('fs');
var path = require('path');

if (path.basename(__dirname) !== 'node_modules') {
console.log('ERROR: The containing folder must be named "node_modules".');
process.exit(1);
}
Expand Down
1 change: 1 addition & 0 deletions ezpz-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ var childProcess = require('child_process');
var fs = require('fs');
var path = require('path');

if (path.basename(__dirname) !== 'node_modules') {
console.log('ERROR: The containing folder must be named "node_modules".');
process.exit(1);
}
Expand Down

0 comments on commit fbe978d

Please sign in to comment.