Skip to content

Commit 2fb7a1b

Browse files
committed
πŸš‘
1 parent af58096 commit 2fb7a1b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

β€Žnode/deno.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gaubee/node",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"exports": {
55
"./env": "./src/env.ts",
66
"./path": "./src/path.ts",

β€Žnode/src/path.tsβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ export const createResolverByRootFile = (fromPath: string | URL = process.cwd(),
5353
throw new Error(`Cannot find ${rootFilename} from ${fromPath}`);
5454
}
5555
rootDirname = customDirname;
56-
} else {
57-
rootDirname = parentDirname;
56+
break;
5857
}
58+
rootDirname = parentDirname;
5959
}
6060
return createResolver(rootDirname);
6161
};

0 commit comments

Comments
Β (0)