Delete artisan.js

This commit is contained in:
Filip Rojek 2021-08-15 18:45:05 +02:00 committed by GitHub
parent 6a412ee673
commit 21bf17ed3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}`)
// })