Refactor
This commit is contained in:
parent
bc4203c1d1
commit
fb548f9445
|
@ -2,6 +2,5 @@ import * as fs from "fs";
|
|||
|
||||
export const saveJsonToDisk = (content: {}) => {
|
||||
const outputPath = `../database.json`;
|
||||
|
||||
fs.writeFileSync(outputPath, JSON.stringify(content));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue