Skip to content

Commit bf0a43c

Browse files
committed
Update packages/core/src/lib/path-normalizer.ts
1 parent be54273 commit bf0a43c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/lib/path-normalizer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import { join, resolve } from 'path'
22

33
// normalise a path to a directory, adding a trailing slash if it doesn't already
44
// have one and resolve it to make it absolute (e.g. get rid of any ".."s)
5-
const normalizePath = (p: string): string => path.join(path.resolve(p), '/')
5+
const normalizePath = (p: string): string =>join(resolve(p), '/')
66

77
export default normalizePath

0 commit comments

Comments
 (0)