Skip to content

Commit

Permalink
pw_ide: Fix .pw_ide.yaml paths
Browse files Browse the repository at this point in the history
Change-Id: Ia9d7fda1837aee809baf8f0790ae64e4a2b8942e
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/230991
Presubmit-Verified: CQ Bot Account <[email protected]>
Lint: Lint 🤖 <[email protected]>
Reviewed-by: Anthony DiGirolamo <[email protected]>
Commit-Queue: Chad Norvell <[email protected]>
  • Loading branch information
chadnorvell authored and CQ Bot Account committed Aug 20, 2024
1 parent 3c61791 commit e224ccc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pw_ide/py/pw_ide/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ class SupportedEditor(enum.Enum):
'working_dir': _DEFAULT_WORKSPACE_ROOT / PW_IDE_DIR_NAME,
}

_DEFAULT_PROJECT_FILE = Path('$PW_PROJECT_ROOT/.pw_ide.yaml')
_DEFAULT_PROJECT_USER_FILE = Path('$PW_PROJECT_ROOT/.pw_ide.user.yaml')
_DEFAULT_USER_FILE = Path('$HOME/.pw_ide.yaml')
_DEFAULT_PROJECT_FILE = PW_PROJECT_ROOT / '.pw_ide.yaml'
_DEFAULT_PROJECT_USER_FILE = PW_PROJECT_ROOT / '.pw_ide.user.yaml'
_DEFAULT_USER_FILE = Path.home() / '.pw_ide.yaml'


def _expand_any_vars(input_path: Path) -> Path:
Expand Down

0 comments on commit e224ccc

Please sign in to comment.