diff --git a/lib/graph/Workspace.js b/lib/graph/Workspace.js index 81f006407..ad0c850f2 100644 --- a/lib/graph/Workspace.js +++ b/lib/graph/Workspace.js @@ -96,7 +96,7 @@ class Workspace { * @public * @param {string} projectName Name of the project * @returns {Promise<@ui5/project/graph/Module|undefined>} - * Module instance or undefined if none is found + * Module instance, or undefined if none is found */ async getModuleByProjectName(projectName) { const {projectNameMap} = await this._getResolvedModules(); @@ -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 undefined if none is found + * Module instance, or undefined if none is found */ async getModuleByNodeId(nodeId) { const {moduleIdMap} = await this._getResolvedModules(); diff --git a/lib/specifications/Specification.js b/lib/specifications/Specification.js index 09b67b6f0..bb9744070 100644 --- a/lib/specifications/Specification.js +++ b/lib/specifications/Specification.js @@ -161,7 +161,7 @@ class Specification { /** * Get the ID of this specification. * - *

Note: Only to be used in special occasions as it specific to the provider that was used and does + *

Note: 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.

* * For general purposes of a unique identifier use