mirror of
https://github.com/filiprojek/nork.git
synced 2024-11-02 10:02:28 +01:00
Delete artisan.js
This commit is contained in:
parent
6a412ee673
commit
21bf17ed3f
25
artisan.js
25
artisan.js
@ -1,25 +0,0 @@
|
||||
const { exec } = require('child_process')
|
||||
|
||||
let args = []
|
||||
|
||||
for (let i = 0; i < process.argv; i++) {
|
||||
if (i > 1) {
|
||||
console.log('i', i)
|
||||
console.log(process.args[i])
|
||||
args.push(process.args[i])
|
||||
}
|
||||
}
|
||||
|
||||
console.log(args)
|
||||
|
||||
// exec('node ./framework/src/app.js', (error, stdout, stderr) => {
|
||||
// if (error) {
|
||||
// console.log(`error: ${error.message}`)
|
||||
// return
|
||||
// }
|
||||
// if (stderr) {
|
||||
// console.log(`stderr: ${stderr}`)
|
||||
// return
|
||||
// }
|
||||
// console.log(`stdout: ${stdout}`)
|
||||
// })
|
Loading…
Reference in New Issue
Block a user