Do not remove comments from Truffle config file when deploying to a Ganache network
acuarica opened this issue · 3 comments
acuarica commented
When deploying contracts to a Ganache network, the Truffle config file, e.g., truffle-config.js
, is rewritten to add the selected network and deploy contracts to it. However, if the Truffle config file contains comments, these are removed. See example below.
Expected behavior
Do not remove any comments from the Truffle config file. The extension should make just the minimal edit to add the selected Ganache network.
cds-amal commented
@benjamincburns might have a library to use in this scenario
freshgeek commented
and deploy .sol file and local .sol file is diff ,local .sol file has comment ,so,when debug code is confusion