Update index.ts

pull/3569/head
yann300 2 years ago committed by Aniket
parent e3945110d5
commit 82d95b7631
  1. 4
      libs/remix-ws-templates/src/templates/ozerc20/index.ts

@ -26,10 +26,10 @@ export default async (opts) => {
if (!opts || opts.upgradeable === undefined || !opts.upgradeable) {
// @ts-ignore
if(opts.mintable) filesObj['tests/MyToken_test.sol'] = (await import('raw-loader!./tests/MyToken_mintable_test.sol')).default
if (erc20.defaults.mintable) filesObj['tests/MyToken_test.sol'] = (await import('raw-loader!./tests/MyToken_mintable_test.sol')).default
// @ts-ignore
else filesObj['tests/MyToken_test.sol'] = (await import('raw-loader!./tests/MyToken_test.sol')).default
}
return filesObj
}
}

Loading…
Cancel
Save