Skip to content

Commit 065492f

Browse files
fix(shared): pass pipeline input to Nushell export conversions
1 parent 22d3d29 commit 065492f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/shared/src/shell.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export function buildEnvironmentCaptureCommand(
231231
const value =
232232
`if $env.${name}? == null { '' } else if ` +
233233
`$env.ENV_CONVERSIONS?.${name}?.to_string? != null { ` +
234-
`do $env.ENV_CONVERSIONS.${name}.to_string $env.${name} ` +
234+
`$env.${name} | do $env.ENV_CONVERSIONS.${name}.to_string $env.${name} ` +
235235
`} else { ${defaultValue} }`;
236236
return [
237237
`print '${envCaptureStart(name)}'`,

0 commit comments

Comments
 (0)