wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.17k stars 283 forks source link

Read and follow ignore list from .gitignore #421

Open ortutay opened 1 year ago

ortutay commented 1 year ago

Is your feature request related to a problem? Please describe. My editor creates tmp save files in the deploy/ directory. hardhat-deploy treats these as deploy files, creating extra deployments. For example 'deploy_Token.js' and 'deploy_Token.js~' causes a double deploy.

Describe the solution you'd like My .gitignore file includes the pattern *~ to ignore these files. It would be good if hardhat-deploy saw this, and ignored those files as well.

Describe alternatives you've considered You could also look only at .js or .ts files, and not anything else

Additional context None