Skip to content

Commit c0018bb

Browse files
committed
wip
1 parent 4f9341b commit c0018bb

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ jobs:
9191
env:
9292
XDG_DATA_HOME: /tmp/foo
9393
94+
- run: env
95+
9496
- run: |
9597
sudo ./pkgm.ts i node@22 dev
9698
[[ $(node --version) = v22* ]] || exit 2
@@ -101,7 +103,7 @@ jobs:
101103
touch /tmp/foo/pkgx/dev$PWD/dev.pkgx.activated # `dev .` doesn’t work in CI (fix in dev^2)
102104
[[ $(node --version) = v20* ]] || exit 3
103105
env:
104-
XDG_DATA_HOME: /tmp/foo
106+
XDG_DATA_HOME: /tmp/bar
105107
106108
# https://github.com/pkgxdev/pkgm/issues/62
107109
- run: |

pkgm.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ async function install(args: string[], basePath: string) {
129129
Deno.exit(1);
130130
}
131131

132+
133+
132134
const pkgx = get_pkgx();
133135

134136
const [json] = await query_pkgx(pkgx, args);
@@ -285,6 +287,8 @@ async function query_pkgx(
285287
): Promise<[JsonResponse, Record<string, string>]> {
286288
args = args.map((x) => `+${x}`);
287289

290+
console.error("HIDEOUS", Deno.env.toObject());
291+
288292
const env: Record<string, string> = {
289293
"PATH": standardPath(),
290294
};

0 commit comments

Comments
 (0)