From 383e43ab7f411310bcd24754386a6c4a8fde4660 Mon Sep 17 00:00:00 2001 From: cgewecke Date: Thu, 19 Mar 2020 17:26:09 -0700 Subject: [PATCH] Normalize target paths in "assembleFiles" for Windows (#486) --- plugins/resources/plugin.utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/resources/plugin.utils.js b/plugins/resources/plugin.utils.js index 01c4f40..933cfda 100644 --- a/plugins/resources/plugin.utils.js +++ b/plugins/resources/plugin.utils.js @@ -132,7 +132,7 @@ function checkContext(config, tempContractsDir, tempArtifactsDir){ function assembleFiles(config, skipFiles=[]){ const targetsPath = path.join(config.contractsDir, '**', '*.sol'); - const targets = shell.ls(targetsPath); + const targets = shell.ls(targetsPath).map(path.normalize); skipFiles = assembleSkipped(config, targets, skipFiles);