mirror of
https://github.com/strapi/strapi.git
synced 2025-11-15 09:39:15 +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';
|
'use strict';
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env node --harmony
|
#!/usr/bin/env node
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env node --harmony
|
#!/usr/bin/env node
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env node --harmony
|
#!/usr/bin/env node
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env node --harmony
|
#!/usr/bin/env node
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env node --harmony
|
#!/usr/bin/env node
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env node --harmony
|
#!/usr/bin/env node
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env node --harmony
|
#!/usr/bin/env node
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env node --harmony
|
#!/usr/bin/env node
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|||||||
@ -32,9 +32,7 @@
|
|||||||
"lib": "./lib"
|
"lib": "./lib"
|
||||||
},
|
},
|
||||||
"main": "./lib",
|
"main": "./lib",
|
||||||
"bin": {
|
"bin": "./bin/_spawn.js",
|
||||||
"strapi": "./bin/strapi.js"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"anchor": "^0.10.5",
|
"anchor": "^0.10.5",
|
||||||
"async": "^1.4.2",
|
"async": "^1.4.2",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user