public_host 4 years ago
parent
commit
105cf3e7d0
  1. 8
      hasaki-gen-crud/hasaki-gen-crud.js

8
hasaki-gen-crud/hasaki-gen-crud.js

@ -146,9 +146,13 @@ try {
let httpFileName = path.join(fileDir, `auto_generated_http_${underscore_naming}_${fileBaseName}`)
fs.writeFile(crudFileName, `${package_src}\n\n${tmp[2]}`)
fs.writeFile(crudFileName, `${package_src}\n\n${tmp[2]}`, function () {
fs.writeFile(httpFileName, `${package_src}\n\n${tmp[3]}`)
})
fs.writeFile(httpFileName, `${package_src}\n\n${tmp[3]}`, function () {
})
// vscode.window.showErrorMessage(res)
}).catch(error => {

Loading…
Cancel
Save