refactor: init cypress-cucumber-preprocessor install.
This commit is contained in:
18
node_modules/coffeescript/bin/cake
generated
vendored
Executable file
18
node_modules/coffeescript/bin/cake
generated
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
var path = require('path');
|
||||
var fs = require('fs');
|
||||
|
||||
var potentialPaths = [
|
||||
path.join(process.cwd(), 'node_modules/coffeescript/lib/coffeescript'),
|
||||
path.join(process.cwd(), 'node_modules/coffeescript/lib/coffee-script'),
|
||||
path.join(process.cwd(), 'node_modules/coffee-script/lib/coffee-script'),
|
||||
path.join(__dirname, '../lib/coffee-script')
|
||||
];
|
||||
|
||||
for (var i = 0, len = potentialPaths.length; i < len; i++) {
|
||||
if (fs.existsSync(potentialPaths[i])) {
|
||||
require(potentialPaths[i] + '/cake').run();
|
||||
break;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user