11 lines
327 B
TypeScript
11 lines
327 B
TypeScript
|
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)
|
||
|
}
|
||
|
}
|