|
|
|
@ -147,7 +147,7 @@ const executeReadFile = ` |
|
|
|
|
|
|
|
|
|
const executeCopyFile = ` |
|
|
|
|
const run = async () => { |
|
|
|
|
await remix.call('fileManager', 'copyFile', 'contracts/3_Ballot.sol', 'new_contract.sol') |
|
|
|
|
await remix.call('fileManager', 'copyFile', 'contracts/3_Ballot.sol', '/', 'new_contract.sol') |
|
|
|
|
const result = await remix.call('fileManager', 'readFile', 'new_contract.sol') |
|
|
|
|
|
|
|
|
|
console.log(result) |
|
|
|
|