mirror of
https://github.com/zoo-labs/zoo.git
synced 2026-11-10 22:32:34 +00:00
12 lines
300 B
JavaScript
12 lines
300 B
JavaScript
const fs = require("fs");
|
|
|
|
if (!fs.existsSync("./src/contracts/hardhat_contracts.json")) {
|
|
try {
|
|
fs.writeFileSync("./src/contracts/hardhat_contracts.json", JSON.stringify({}));
|
|
|
|
console.log("src/contracts/hardhat_contracts.json created.");
|
|
} catch (error) {
|
|
console.log(error);
|
|
}
|
|
}
|