mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +00:00
Fix shebang backward compatibilities
This commit is contained in:
parent
94ddbc6881
commit
968e36d879
8
bin/_spawn.js
Normal file
8
bin/_spawn.js
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
var spawn = require('child_process').spawn;
|
||||
var args = [ __dirname + '/strapi.js' ].concat(process.argv.slice(2));
|
||||
|
||||
spawn(process.argv[0], ['--harmony'].concat(args), {
|
||||
stdio: [0, 1, 2]
|
||||
});
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env node --harmony
|
||||
#!/usr/bin/env node
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env node --harmony
|
||||
#!/usr/bin/env node
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env node --harmony
|
||||
#!/usr/bin/env node
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env node --harmony
|
||||
#!/usr/bin/env node
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env node --harmony
|
||||
#!/usr/bin/env node
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env node --harmony
|
||||
#!/usr/bin/env node
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env node --harmony
|
||||
#!/usr/bin/env node
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env node --harmony
|
||||
#!/usr/bin/env node
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env node --harmony
|
||||
#!/usr/bin/env node
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -32,9 +32,7 @@
|
||||
"lib": "./lib"
|
||||
},
|
||||
"main": "./lib",
|
||||
"bin": {
|
||||
"strapi": "./bin/strapi.js"
|
||||
},
|
||||
"bin": "./bin/_spawn.js",
|
||||
"dependencies": {
|
||||
"anchor": "^0.10.5",
|
||||
"async": "^1.4.2",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user