Skip to content

Commit

Permalink
fix: windows path
Browse files Browse the repository at this point in the history
  • Loading branch information
mathisonian committed Apr 15, 2022
1 parent 047111a commit 8d98c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/idyll-cli/src/pipeline/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const build = async (opts, paths, resolvers) => {
const uniqueComponents = Array.from(new Set(nameArray));
const components = uniqueComponents.reduce((acc, name) => {
let resolved = resolvers.get('components').resolve(name);
if (resolved) acc[paramCase(name)] = resolved;
if (resolved) acc[paramCase(name)] = resolved.replace(/\\/g, '\\\\');
return acc;
}, {});

Expand Down

0 comments on commit 8d98c1a

Please sign in to comment.