ConceptCreator/app/DeleteModel.ts

11 lines
327 B
TypeScript
Raw Normal View History

2024-03-19 17:03:07 +01:00
import * as path from "node:path";
import * as fs from "fs";
export class DeleteTransaction {
static deleteScriptAccount(projectDir: string, componentName: string) {
const filename = path.join(projectDir, "script-accounts", componentName + ".json")
fs.unlinkSync(filename)
console.log("Delete ", filename)
}
}