|
|
@ -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 => { |
|
|
|