reading version from package.json instead of version file #5

This commit is contained in:
undergroundwires
2020-04-26 14:38:16 +01:00
parent 226074c534
commit 691f989682
10 changed files with 12 additions and 13 deletions

View File

@@ -37,7 +37,7 @@ export class ApplicationState implements IApplicationState {
/** Initially selected scripts */
public readonly defaultScripts: Script[]) {
this.selection = new UserSelection(app, defaultScripts);
this.code = new ApplicationCode(this.selection, app.version.toString());
this.code = new ApplicationCode(this.selection, app.version);
this.filter = new UserFilter(app);
}
}