Skip to content

Commit 21d8fcc

Browse files
committed
hub unifying the API
1 parent 5164a73 commit 21d8fcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unityHub.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,11 @@ class UnityHub {
215215
* @throws Will throw an error if module addition fails
216216
* @public
217217
*/
218-
public static addModule(
218+
public static async addModule(
219219
editorVersion: string,
220220
modules: ModuleId[],
221221
childModules: boolean = true
222-
): UnityHubInstallerEvent {
222+
): Promise<UnityHubInstallerEvent> {
223223
try {
224224
console.debug(`Adding module ${modules} to Unity ${editorVersion}`);
225225

0 commit comments

Comments
 (0)