Skip to content

Commit fae2bb9

Browse files
committed
changes in comments for better readability
1 parent ee49528 commit fae2bb9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/system/FileLoader.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ export default class FileLoader {
4848
//get the absolute path
4949
pathname = path.resolve(pwd, pathname);
5050
}
51-
//check if path is not already absolute on all os
52-
if (!path.isAbsolute(pathname)) {
51+
//if the pathname is not already absolute,
52+
//the path should start with modules
53+
if (!path.isAbsolute(pathname)) {
5354
let cwd = pwd;
5455
do {
5556
const module = path.resolve(cwd, 'node_modules', pathname);

0 commit comments

Comments
 (0)