File tree 4 files changed +6
-2
lines changed
4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ export class ParentEnvs {
78
78
posixDirs : Array < PosixDirProvision > ,
79
79
dynamicPosixDirs : Array < DynamicPosixDirProvision > ,
80
80
) {
81
+ logger . debug ( "merge posix dirs" , { posixDirs, dynamicPosixDirs } ) ;
81
82
this . #posixDirs. push ( ...posixDirs ) ;
82
83
this . #dynamicPosixDirs. push ( ...dynamicPosixDirs ) ;
83
84
}
Original file line number Diff line number Diff line change @@ -646,10 +646,10 @@ export class Ghjkfile {
646
646
prov ,
647
647
) ;
648
648
} ) ,
649
- ...base . posixDirs ,
650
649
...final . posixDirs ,
651
- ...base . dynamicPosixDirs ,
650
+ ...base . posixDirs ,
652
651
...final . dynamicPosixDirs ,
652
+ ...base . dynamicPosixDirs ,
653
653
// env hooks
654
654
...hooks ,
655
655
] ,
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export async function cookPosixEnv(
22
22
} ,
23
23
) {
24
24
logger . debug ( "cooking env" , envKey , { envDir } ) ;
25
+ logger . debug ( "recipe" , recipe ) ;
25
26
const reducedRecipe = await reduceStrangeProvisions ( gcx , recipe ) ;
26
27
await $ . removeIfExists ( envDir ) ;
27
28
// create the shims for the user's environment
Original file line number Diff line number Diff line change 1
1
import { unwrapZodRes } from "../../port.ts" ;
2
+ import logger from "../../utils/logger.ts" ;
2
3
import { execTask } from "../tasks/exec.ts" ;
3
4
import { getTasksCtx } from "../tasks/inter.ts" ;
4
5
import type { GhjkCtx } from "../types.ts" ;
@@ -66,6 +67,7 @@ export async function reduceStrangeProvisions(
66
67
const reducerStore = getProvisionReducerStore ( gcx ) ;
67
68
// Replace by `Object.groupBy` once the types for it are fixed
68
69
const bins = { } as Record < string , Provision [ ] > ;
70
+ logger ( import . meta) . debug ( "provides" , env . provides ) ;
69
71
for ( const item of env . provides ) {
70
72
let bin = bins [ item . ty ] ;
71
73
if ( ! bin ) {
You can’t perform that action at this time.
0 commit comments