Page MenuHomePhabricator

[Nix] Fix undeclared failure
ClosedPublic

Authored by jon on Jan 26 2023, 1:09 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Sep 30 2024, 4:51 AM
Unknown Object (File)
Sep 30 2024, 4:49 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable