Skip to content

Commit

Permalink
skip version check
Browse files Browse the repository at this point in the history
  • Loading branch information
corymhall committed Feb 7, 2025
1 parent 978a500 commit 2a7539c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/assembly/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ export class AssemblyManifestReader {
const filePath = path.join(dir, AssemblyManifestReader.DEFAULT_FILENAME);
try {
fs.statSync(dir);
const obj = Manifest.loadAssemblyManifest(filePath);
const obj = Manifest.loadAssemblyManifest(filePath, {
// Skip version check because we don't want to throw an error if the manifest is from a newer version
// We choose what features we are supporting, so if new features are added we don't want it to fail on us
skipVersionCheck: true,
});
return new AssemblyManifestReader(dir, obj);
} catch (e: any) {
throw new Error(`Cannot read manifest at '${filePath}': ${e}`);
Expand Down

0 comments on commit 2a7539c

Please sign in to comment.