We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeecac6 commit dacbe6aCopy full SHA for dacbe6a
scripts/generateAMPSkips.js
@@ -7,11 +7,14 @@ if (process.argv.length < 3) {
7
return;
8
}
9
10
-1 / 0;
11
const templateFile = "templates/AccessManagedProxySXTemplate.sol.handlebars";
12
const targetDir = "./contracts/amps/";
13
const ampPath = "../";
14
+if (!fs.existsSync(targetDir)) {
15
+ fs.mkdirSync(targetDir);
16
+}
17
+
18
const template = Handlebars.compile(fs.readFileSync(templateFile).toString());
19
20
for (const nMethodArg of process.argv.slice(2)) {
0 commit comments