Skip to content

Commit bf13ac1

Browse files
committed
Fixed paths in generate importmap script
1 parent 6f4feee commit bf13ac1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/generate-importmap.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env -S deno run --allow-read --allow-write
22

33
import { expandGlob } from "@std/fs";
4-
import { fromFileUrl } from "@std/path";
4+
import { fromFileUrl, join } from "@std/path";
55

66
interface DenoConfig {
77
name?: string;
@@ -98,7 +98,7 @@ const output = {
9898
imports: sortedImports,
9999
};
100100

101-
const outputPath = `${rootDir}/v4.importmap.json`;
101+
const outputPath = join(rootDir, 'v4.importmap.json');
102102
await Deno.writeTextFile(
103103
outputPath,
104104
JSON.stringify(output, null, 2) + "\n",

0 commit comments

Comments
 (0)