Skip to content

Commit afd170f

Browse files
committed
homedir() only
1 parent 9086c3b commit afd170f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

main.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
import { denoCompileWinError } from "./src/deno-compile-win-error.ts";
1+
// import { denoCompileWinError } from "./src/deno-compile-win-error.ts";
2+
3+
import { homedir } from "node:os";
24

35
if (import.meta.main) {
4-
await denoCompileWinError();
6+
console.log(homedir())
7+
// await denoCompileWinError();
58
}

src/deno-compile-win-error.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ import { homedir } from "node:os";
44

55
export function denoCompileWinError() {
66
const home = homedir();
7-
// const whereTheProblemsAre = path.join(home, "problematic");
87

98
try {
109
console.log(home)
11-
1210
throw new Error(
1311
"this will not be logged if compiled\nfor windows on deno v2.1.5",
1412
);

0 commit comments

Comments
 (0)