1.0.1 • Published 4 years ago

buidler-log-remover v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Buidler Log Remover

Remove Buidler console.log imports and calls from Solidity source code.

Installation

yarn add --dev buidler-log-remover

Usage

Load plugin in Buidler config:

usePlugin('buidler-log-remover');

Run the Buidler task manually:

yarn run buidler remove-logs

Before removing logs, the plugin will ensure that all contracts can be compiled successfully.

Testing

Run the unit tests with Mocha:

yarn run mocha