public_host 4 years ago
parent
commit
fe549bd496
  1. 12
      hasaki-gen-crud.js

12
hasaki-gen-crud.js

@ -9,12 +9,14 @@ try {
console.log(start)
console.log(fileName)
var context = fs.readFileSync(fileName)
fs.readFile(fileName, function (context) {
var context_arr = context.split("\n")
console.log(context)
console.log(context_arr[start])
})
var context_arr = context.split("\n")
console.log(context)
console.log(context_arr[start])
} catch (error) {
console.log(error)
}
Loading…
Cancel
Save