diff --git a/lib/compiler/hooks/tsconfig-paths.hook.ts b/lib/compiler/hooks/tsconfig-paths.hook.ts index 1511c5953..d5080d61a 100644 --- a/lib/compiler/hooks/tsconfig-paths.hook.ts +++ b/lib/compiler/hooks/tsconfig-paths.hook.ts @@ -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; diff --git a/package.json b/package.json index 92b47c505..e427ceaa3 100644 --- a/package.json +++ b/package.json @@ -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"