Skip to content

Commit

Permalink
pw_presubmit: Use PW_PACKAGE_ROOT
Browse files Browse the repository at this point in the history
Bug: b/240707084
Change-Id: I367124b9cf35d081249eebd5ee4c25b8d459d16e
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/103887
Commit-Queue: Rob Mohr <[email protected]>
Reviewed-by: Wyatt Hepler <[email protected]>
  • Loading branch information
mohrr authored and CQ Bot Account committed Aug 5, 2022
1 parent 1b7adca commit 05b8e4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pw_presubmit/py/pw_presubmit/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,7 @@ def run(
_OUTPUT_PATH_README.format(repo=root))

if not package_root:
package_root = Path(
os.environ['_PW_ACTUAL_ENVIRONMENT_ROOT']) / 'packages'
package_root = Path(os.environ['PW_PACKAGE_ROOT'])

_LOG.debug('Using environment at %s', output_directory)

Expand Down

0 comments on commit 05b8e4e

Please sign in to comment.