Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Günter Klatt <57760635+KlattG@users.noreply.github.com>
  • Loading branch information
matz3 and KlattG authored Mar 30, 2023
1 parent e1c83b3 commit cdf2fc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/graph/Workspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class Workspace {
* @public
* @param {string} projectName Name of the project
* @returns {Promise<@ui5/project/graph/Module|undefined>}
* Module instance or <code>undefined</code> if none is found
* Module instance, or <code>undefined</code> if none is found
*/
async getModuleByProjectName(projectName) {
const {projectNameMap} = await this._getResolvedModules();
Expand All @@ -112,7 +112,7 @@ class Workspace {
* @public
* @param {string} nodeId Node ID of the module
* @returns {Promise<@ui5/project/graph/Module|undefined>}
* Module instance or <code>undefined</code> if none is found
* Module instance, or <code>undefined</code> if none is found
*/
async getModuleByNodeId(nodeId) {
const {moduleIdMap} = await this._getResolvedModules();
Expand Down
2 changes: 1 addition & 1 deletion lib/specifications/Specification.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class Specification {
/**
* Get the ID of this specification.
*
* <p><b>Note: </b>Only to be used in special occasions as it specific to the provider that was used and does
* <p><b>Note: </b>Only to be used for special occasions as it is specific to the provider that was used and does
* not necessarily represent something defined by the project.</p>
*
* For general purposes of a unique identifier use
Expand Down

0 comments on commit cdf2fc0

Please sign in to comment.