Skip to content

Commit 0fb142f

Browse files
committed
Fix incorrect code comment
1 parent 41ee87b commit 0fb142f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/TemplatePath.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,8 @@ TemplatePath.normalizeOperatingSystemFilePath = function (filePath, sep = "/") {
359359
/**
360360
* Accepts a relative file path with the local operating system directory separator and
361361
* normalizes it using a forward slash directory separator. (Leaves trailing slash as-is)
362-
* e.g. `./my/dir/` stays `./my/dir/` on *nix and becomes `.\\my\\dir\\` on Windows
362+
* e.g. `./my/dir/` stays `./my/dir/` on *nix
363+
* e.g. `.\\my\\dir\\` becomes `./my/dir/` on *nix and Windows
363364
*
364365
* @param {String} filePath
365366
* @param {String} [sep="/"]

0 commit comments

Comments
 (0)