Skip to content

Commit 06ba0db

Browse files
committed
Pass empty env?
1 parent 5c692a3 commit 06ba0db

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

feat/dependencies-of/compute.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export async function renderGraph(modUrl: string, dotArgs: string[], args: URLSe
3131

3232
const dotProc = new SubProcess('render', {
3333
cmd: ["dot", ...dotArgs],
34+
env: { },
3435
stdin: 'piped',
3536
errorPrefix: /^Error: /,
3637
});

feat/shields/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export async function handleRequest(req: Request, shieldId: string, modSlug: str
4545
export async function computeGraph(modUrl: string) {
4646
const downloadData = await new SubProcess('download', {
4747
cmd: ["deno", "info", "--json", "--allow-import", "--", modUrl],
48+
env: { },
4849
stdin: 'null',
4950
errorPrefix: /^error: /,
5051
}).captureAllTextOutput();

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ <h2>
7474

7575
<p>Just browsing? Here's a few interesting modules:</p>
7676
<ul>
77-
<li><a href="/dependencies-of/jsr:@astral/astral">jsr:@astral/astral</a> (a JSR package)</li>
77+
<li><a href="/dependencies-of/jsr/@astral/astral">jsr:@astral/astral</a> (a JSR package)</li>
7878
<li><a href="/dependencies-of/https/raw.githubusercontent.com/cloudydeno/module-visualizer/main/server.ts?rankdir=LR">raw.githubusercontent.com/cloudydeno/module-visualizer/main/server.ts</a> (this website!)</li>
7979
<li><a href="/dependencies-of/x/[email protected]/mod.ts?rankdir=LR">deno.land/x/[email protected]/mod.ts</a> (minimal)</li>
8080
<li><a href="/dependencies-of/x/[email protected]/mod.ts">deno.land/x/[email protected]/mod.ts</a> (uses NPM packages via esm.sh)</li>

0 commit comments

Comments
 (0)