inkdevhub / swanky-cli

The all-in-one developer environment for Parity pallet-contracts based smart contracts!
https://docs.astar.network/docs/build/wasm/swanky-suite/cli/
MIT License
70 stars 29 forks source link

Fix typedContract folder move failure #152

Closed shunsukew closed 1 year ago

shunsukew commented 1 year ago

Compile command will fail at the Generating TS types phase after the second time, because fs.move fail if the same name folder exist in the destination path. Added overwrite option so that typedContract moved to the correct path as expected.