Skip to content

Commit 7ec67fe

Browse files
committed
[whitespace] sourcing init hooks: wrap project dir path in quotes
1 parent 1f4db4a commit 7ec67fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/devbox/devbox.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ func (d *Devbox) EnvExports(ctx context.Context, opts devopt.EnvExportsOpts) (st
374374
envStr := exportify(envs)
375375

376376
if opts.RunHooks {
377-
hooksStr := ". " + shellgen.ScriptPath(d.ProjectDir(), shellgen.HooksFilename)
377+
hooksStr := ". \"" + shellgen.ScriptPath(d.ProjectDir(), shellgen.HooksFilename) + "\""
378378
envStr = fmt.Sprintf("%s\n%s;\n", envStr, hooksStr)
379379
}
380380

0 commit comments

Comments
 (0)