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
Co-authored-by: Kris Kowal <[email protected]>
  • Loading branch information
turadg and kriskowal authored Aug 30, 2024
1 parent 8e826aa commit e95f05d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/agoric-cli/src/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,11 @@ export { bootPlugin } from ${JSON.stringify(absPath)};
* @param {string} file
* @returns {Promise<import('@endo/bundle-source').BundleSourceResult<'endoZipBase64'>>}
*/
bundleSource: file =>
bundleSource: (file, options = {}) =>
bundleSource(pathResolve(file), {
elideComments: true,
format: 'endoZipBase64',
...options

Check warning on line 172 in packages/agoric-cli/src/scripts.js

View workflow job for this annotation

GitHub Actions / lint-rest

Insert `,`
}),
...endowments,
pathResolve,
Expand Down

0 comments on commit e95f05d

Please sign in to comment.