Honor excluded files

add check to honor the excluded files in `view` and `pure` modifiers processing functionality.

(cherry picked from commit 476dc4d95c)
pull/274/head
h3ph4est7s 6 years ago committed by cgewecke
parent 4916c07084
commit 8677e23097
  1. 1
      lib/app.js

@ -389,6 +389,7 @@ class App {
*/
postProcessPure(env) {
shell.ls(`${env}/**/*.sol`).forEach(file => {
if (this.skipFiles.includes(file) || this.inSkippedFolder(file)) return;
const contractPath = this.platformNeutralPath(file);
const contract = fs.readFileSync(contractPath).toString();
const contractProcessed = preprocessor.run(contract);

Loading…
Cancel
Save