Skip to content

Commit

Permalink
fixup! feat: elide comments in agoric run bundle source
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Aug 31, 2024
1 parent e95f05d commit f389f5d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/agoric-cli/src/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<import('@endo/bundle-source').BundleSourceResult<'endoZipBase64'>>}
* @param {import('@endo/bundle-source').BundleOptions<ModuleFormat>} options
* @returns {Promise<import('@endo/bundle-source').BundleSourceResult<ModuleFormat>>}
*/
bundleSource: (file, options = {}) =>
bundleSource(pathResolve(file), {
elideComments: true,
format: 'endoZipBase64',
...options
...options,
}),
...endowments,
pathResolve,
Expand Down

0 comments on commit f389f5d

Please sign in to comment.