You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.with_context(|| format!("Failed to load Wasm source {}", component.source))?;
162
162
@@ -215,6 +215,7 @@ impl LocalLoader {
215
215
// URL with an absolute path to the content.
216
216
asyncfnload_component_source(
217
217
&self,
218
+
component_id:&KebabId,
218
219
source: v2::ComponentSource,
219
220
) -> Result<LockedComponentSource>{
220
221
let content = match source {
@@ -227,6 +228,7 @@ impl LocalLoader {
227
228
package,
228
229
version,
229
230
} => {
231
+
let version = semver::Version::parse(&version).with_context(|| format!("Component {component_id} specifies an invalid semantic version ({version:?}) for its package version"))?;
0 commit comments