npm package diff
Package: @forge/cli
Versions: 11.3.1-next.6 - 11.3.1-next.8
File: package/out/deploy/packager/runtime-bundler.js
Index: package/out/deploy/packager/runtime-bundler.js
===================================================================
--- package/out/deploy/packager/runtime-bundler.js
+++ package/out/deploy/packager/runtime-bundler.js
@@ -65,9 +65,9 @@
}
async bundle(handlers, i18nResourceBundle, packageConfig) {
const archiver = this.archiverFactory();
const moduleList = await this.packageAll(archiver, handlers, packageConfig, i18nResourceBundle);
- if (moduleList.length === 0) {
+ if (handlers.length === 0) {
this.packageI18nResources(archiver, i18nResourceBundle);
}
const archivePath = await archiver.finalise();
this.logger.debug(cli_shared_1.Text.deploy.taskPackage.archiveCreated(archivePath));