-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[buck2] always sanitize env vars if on buck2
Summary: One more way that Infer environment variables may poison local buck2 actions is through `query`. That is, if a query command is first executed with Infer environment variables set, these will be recorded and cached by buck2. If afterwards a `build` is executed, the cached environment variables will be used even if the build command is run without them set. This diff removes Infer variables unconditionally when executing any buck2 subcommand. Differential Revision: D52950290 Privacy Context Container: L1122176 fbshipit-source-id: d80688d77d479c69237efff76d317abee9c1e373
- Loading branch information
1 parent
ab9963c
commit 9a7df3d
Showing
4 changed files
with
6 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters