Skip to content

Commit

Permalink
Try again on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Dec 13, 2017
1 parent b79cb9b commit 925faa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function findImportedPath(url, prev, includedFilesMap, includedPaths) {
let candidatePath;
let candidateFromPath = normalizePath(makeAbsolute(candidateFromPaths[i]));
if (path.isAbsolute(url)) {
candidatePath = url;
candidatePath = normalizePath(url);
} else {
// Get normalize absolute candidate from path
candidatePath = path.posix.join(candidateFromPath, url);
Expand All @@ -33,7 +33,7 @@ function findImportedPath(url, prev, includedFilesMap, includedPaths) {
let partialUrl = `${url.substring(0, indexOfBasename)}_${urlBasename}`;

if (path.isAbsolute(partialUrl)) {
candidatePath = partialUrl;
candidatePath = normalizePath(partialUrl);
} else {
candidatePath = path.posix.join(candidateFromPath, partialUrl);
}
Expand Down

0 comments on commit 925faa1

Please sign in to comment.