-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] graph: Always resolve rootConfigPath to CWD
This should restore the v2 behavior where referencing a ui5.yaml file via the '--config' CLI parameter can always be done with a path relative to the directory the CLI has been invoked in. v3 used to pass the relative path to graph/Module which would resolve it against the module's root path (typically the location of the package.json) using @ui5/fs. This can be unexpected, for example if the CLI is invoked in a subdirectory of the module. Also, referencing configuration files outside of the module (e.g. "../ui5.yaml") was no longer possible.
- Loading branch information
1 parent
1cd94f7
commit ef3e569
Showing
5 changed files
with
77 additions
and
61 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
Oops, something went wrong.