File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff 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 } ;
You can’t perform that action at this time.
0 commit comments