diff --git a/CHANGELOG.md b/CHANGELOG.md index 33c34a6..ba95592 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# v0.3.2 +- Fix a bug with passing undefined to the Manifest constructor + # v0.3.1 - Allow empty name to be passed to the Manifest constructor to allow for backwards compatibility. diff --git a/src/arkiver/manifest-builder.ts b/src/arkiver/manifest-builder.ts index 3fe9ffd..b6d60dd 100644 --- a/src/arkiver/manifest-builder.ts +++ b/src/arkiver/manifest-builder.ts @@ -25,6 +25,7 @@ export class Manifest { entities: [], name: "", }; + return; } if (name.search(/[^a-zA-Z0-9]/g) !== -1) { throw new Error(`Invalid name: ${name}`);