Skip to content

Commit

Permalink
fix(agoric-sdk): Include version twins in valid bundle compartment names
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Jul 8, 2024
1 parent a4a571e commit 861ecaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/agoric-cli/src/lib/bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { ZipReader } from '@endo/zip';
/** @import {Bundle} from '@agoric/swingset-vat'; */
/** @import {CoreEvalPlan} from '@agoric/deploy-script-support/src/writeCoreEvalParts.js' */

const PACKAGE_NAME_RE = /(?<packageName>.*-v[\d.]+)\//;
const PACKAGE_NAME_RE = /(?<packageName>.*-v[\d.]+(?:-n\d+)?)\//;

/**
* @typedef {{ name: string, label: string, location: string, modules: Record<string, {compartment: string, module: string}>}} Compartment
Expand Down

0 comments on commit 861ecaf

Please sign in to comment.