Skip to content

Commit

Permalink
refactor(ivy): fix incorrect error message in ngtsc "PathSegment" (an…
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion authored and wKoza committed Apr 17, 2019
1 parent 94998a1 commit 061de5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-cli/src/ngtsc/path/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const PathSegment = {
fromFsPath: function(str: string): PathSegment {
const normalized = normalizeSeparators(str);
if (isAbsolutePath(normalized)) {
throw new Error(`Internal Error: PathSegment.from(${str}): path is not relative`);
throw new Error(`Internal Error: PathSegment.fromFsPath(${str}): path is not relative`);
}
return normalized as PathSegment;
},
Expand Down

0 comments on commit 061de5c

Please sign in to comment.