Remove unnecessary Jigsaw bin file
This commit is contained in:
parent
987c54c8b0
commit
296bdbde13
1 changed files with 0 additions and 18 deletions
|
|
@ -1,18 +0,0 @@
|
|||
var hasbin = require('hasbin');
|
||||
var fs = require('fs');
|
||||
|
||||
module.exports = {
|
||||
path: function() {
|
||||
if (fs.existsSync('./vendor/bin/jigsaw')) {
|
||||
return '"./vendor/bin/jigsaw"'
|
||||
}
|
||||
|
||||
if (hasbin.sync('jigsaw')) {
|
||||
return 'jigsaw';
|
||||
}
|
||||
|
||||
console.log('Could not find Jigsaw; please install it via Composer, either locally or globally.');
|
||||
|
||||
process.exit();
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue