From f389f5db5d2256fc0b2cef8c0747bdb8522e5e06 Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 30 Aug 2024 17:37:23 -0700 Subject: [PATCH] fixup! feat: elide comments in agoric run bundle source --- packages/agoric-cli/src/scripts.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/agoric-cli/src/scripts.js b/packages/agoric-cli/src/scripts.js index ac8ff650ec69..c1781eacc123 100644 --- a/packages/agoric-cli/src/scripts.js +++ b/packages/agoric-cli/src/scripts.js @@ -162,14 +162,15 @@ export { bootPlugin } from ${JSON.stringify(absPath)}; const allEndowments = harden({ home: bootP, /** + * @template {import('@endo/bundle-source').ModuleFormat} ModuleFormat * @param {string} file - * @returns {Promise>} + * @param {import('@endo/bundle-source').BundleOptions} options + * @returns {Promise>} */ bundleSource: (file, options = {}) => bundleSource(pathResolve(file), { elideComments: true, - format: 'endoZipBase64', - ...options + ...options, }), ...endowments, pathResolve,