From e95f05d201a2811497ae167d20181d5be9162b31 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Fri, 30 Aug 2024 16:55:27 -0700 Subject: [PATCH] fixup! feat: elide comments in agoric run bundle source Co-authored-by: Kris Kowal --- packages/agoric-cli/src/scripts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/agoric-cli/src/scripts.js b/packages/agoric-cli/src/scripts.js index 8cf4ce44a4d..ac8ff650ec6 100644 --- a/packages/agoric-cli/src/scripts.js +++ b/packages/agoric-cli/src/scripts.js @@ -165,10 +165,11 @@ export { bootPlugin } from ${JSON.stringify(absPath)}; * @param {string} file * @returns {Promise>} */ - bundleSource: file => + bundleSource: (file, options = {}) => bundleSource(pathResolve(file), { elideComments: true, format: 'endoZipBase64', + ...options }), ...endowments, pathResolve,