Skip to content

Commit

Permalink
Fix dependency list parsing in RustAsset for paths on Windows (#2651)
Browse files Browse the repository at this point in the history
Fixes #2184
  • Loading branch information
lmorchard authored and DeMoorJasper committed Feb 19, 2019
1 parent 31bd420 commit a1567e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/parcel-bundler/src/assets/RustAsset.js
Expand Up @@ -176,7 +176,7 @@ class RustAsset extends Asset {
.slice(1);

for (let dep of deps) {
dep = path.resolve(dir, dep.slice(0, dep.indexOf(':')));
dep = path.resolve(dir, dep.slice(0, dep.indexOf(': ')));
if (dep !== this.name) {
this.addDependency(dep, {includedInParent: true});
}
Expand Down

0 comments on commit a1567e1

Please sign in to comment.