Skip to content

Commit

Permalink
fix(): change to posix slashes in win32 (ts paths)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Jan 8, 2020
1 parent 6ebe17a commit fe5b071
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/compiler/hooks/tsconfig-paths.hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function getNotAliasedPath(
return;
}
if (os.platform() === 'win32') {
result = result.replace(/\\g/, '/');
result = result.replace(/\\/g, '/');
}
const resolvedPath = posix.relative(dirname(sf.fileName), result) || './';
return resolvedPath[0] === '.' ? resolvedPath : './' + resolvedPath;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestjs/cli",
"version": "6.13.1",
"version": "6.13.2",
"description": "Nest - modern, fast, powerful node.js web framework (@cli)",
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit fe5b071

Please sign in to comment.