Fix directory to write standard input

This commit is contained in:
Amir Bandeali
2019-11-06 22:15:15 -08:00
parent 3b61e0e126
commit 4d0172f634

View File

@@ -334,7 +334,7 @@ export class Compiler {
}
if (this._shouldSaveStandardInput) {
await fsWrapper.writeFileAsync(
`${this._contractsDir}/${contractName}.input.json`,
`${this._artifactsDir}/${contractName}.input.json`,
utils.stringifyWithFormatting(input.standardInput),
);
}