We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9086c3b commit afd170fCopy full SHA for afd170f
main.ts
@@ -1,5 +1,8 @@
1
-import { denoCompileWinError } from "./src/deno-compile-win-error.ts";
+// import { denoCompileWinError } from "./src/deno-compile-win-error.ts";
2
+
3
+import { homedir } from "node:os";
4
5
if (import.meta.main) {
- await denoCompileWinError();
6
+ console.log(homedir())
7
+ // await denoCompileWinError();
8
}
src/deno-compile-win-error.ts
@@ -4,11 +4,9 @@ import { homedir } from "node:os";
export function denoCompileWinError() {
const home = homedir();
-// const whereTheProblemsAre = path.join(home, "problematic");
9
try {
10
console.log(home)
11
-
12
throw new Error(
13
"this will not be logged if compiled\nfor windows on deno v2.1.5",
14
);
0 commit comments