@forge/cli

13.2.0-next.4-experimental-fda9df613.2.0-next.10-experimental-f51f593
out/service/resource-packaging-service.js
~out/service/resource-packaging-service.jsModified
+2−2
Index: package/out/service/resource-packaging-service.js
===================================================================
--- package/out/service/resource-packaging-service.js
+++ package/out/service/resource-packaging-service.js
@@ -127,16 +127,16 @@
         await Promise.all(filePaths.map(async (filePath) => {
             const file = await this.fileSystemReader.readBinaryFileAsync(filePath);
             if (file) {
                 const relativePathToArchiveRoot = (0, path_1.relative)(directory, filePath);
-                archiver.addFile(relativePathToArchiveRoot, this.processFile(relativePathToArchiveRoot, file));
+                archiver.addContent(relativePathToArchiveRoot, this.processFile(relativePathToArchiveRoot, file));
             }
         }));
         return archiver.finalise();
     }
     packageI18nResources(archiver, i18nResourceBundle) {
         (0, cli_shared_1.listFilesInI18nResourceBundle)(i18nResourceBundle).forEach(([fileName, filePath]) => {
-            archiver.addFileFrom((0, path_1.join)(i18n_1.I18N_BUNDLE_FOLDER_NAME, fileName), filePath);
+            archiver.addFrom((0, path_1.join)(i18n_1.I18N_BUNDLE_FOLDER_NAME, fileName), filePath);
         });
     }
     async zipResources(resources, i18nResourceBundle, modules) {
         const transformedResources = this.transformRelativeResourcePathsToAbsolute(this.appDir, resources);