We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fba0d72 commit e575b5bCopy full SHA for e575b5b
prelude/rust/build.bzl
@@ -1673,7 +1673,7 @@ def resolve_env_flags(
1673
# Step 2: Read *-env-lines.txt, then create a mapping from it. For instance
1674
# `{"USER": "john", "HOME": "/home/john"}`.
1675
lines = artifacts[env_lines_file].read_string().strip().split("\n")
1676
- env_map = {k: v for k, v in zip(lines[:-1], lines[1:])}
+ env_map = {k: v for k, v in zip(lines[0::2], lines[1::2])}
1677
# Step 3: Utilize 'process_env' to determine whether each environment variable
1678
# is "plain" or "with path", then produce an *-env-flags.txt file
1679
# containing environment variable flags suitable to pass to the
0 commit comments