Skip to content

Commit abd332b

Browse files
committed
add check for project name
1 parent 6219c76 commit abd332b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

convertToSingleHost.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,5 +259,7 @@ if ((host !== "outlook") || (manifestType !== "json")) {
259259
});
260260
};
261261

262-
OfficeAddinManifest.modifyManifestFile(manifestPath, projectName, appId);
262+
if (projectName) {
263+
OfficeAddinManifest.modifyManifestFile(manifestPath, projectName, appId);
264+
}
263265

0 commit comments

Comments
 (0)