Page MenuHomePhabricator

[Nix] Fix undeclared failure
ClosedPublic

Authored by jon on Jan 26 2023, 1:09 PM.
Tags
None
Referenced Files
F3491928: D6404.id21467.diff
Wed, Dec 18, 9:20 PM
F3490061: D6404.diff
Wed, Dec 18, 2:43 PM
Unknown Object (File)
Nov 11 2024, 4:46 AM
Unknown Object (File)
Nov 10 2024, 5:18 AM
Unknown Object (File)
Oct 29 2024, 5:21 PM
Unknown Object (File)
Oct 22 2024, 7:32 AM
Unknown Object (File)
Sep 30 2024, 4:51 AM
Unknown Object (File)
Sep 30 2024, 4:51 AM
Subscribers

Details

Summary

'set -u' will error if a variable is unset. Add bash
substitution to prevent the undefined variable causing an error.

https://linear.app/comm/issue/ENG-2838

Test Plan
PS1= ./scripts/prompt_macos_direnv.sh

Diff Detail

Repository
rCOMM Comm
Branch
jonringer/test-ps1
Lint
No Lint Coverage
Unit
No Test Coverage