Skip to content

Commit 3c45eda

Browse files
committed
Update JSDoc of ProjectGraph#resolveOptionalDependencies
1 parent cbc7b60 commit 3c45eda

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rfcs/0009-ui5-project-refactoring.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,8 @@ declareOptionalDependency(fromProjectName, toProjectName) {}
154154
getDependencies(projectName) {}
155155

156156
/**
157-
* Transforms any optional dependencies in the graph for which the target is referenced by
158-
* at least one non-optional project
159-
* into a non-optional dependency.
157+
* Transforms any optional dependencies declared in the graph to non-optional dependency, if the target
158+
* can already be reached from the root project.
160159
*
161160
* @public
162161
*/

0 commit comments

Comments
 (0)