From bbe35ac3b7fca7f311b8b66cde08b369afc1053a Mon Sep 17 00:00:00 2001 From: Joshua Garde Date: Sun, 6 Aug 2023 18:13:04 -0700 Subject: [PATCH] Expose init publically Fix bumpver clobbering --- bumpver.toml | 2 +- lib/utilities.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bumpver.toml b/bumpver.toml index cf2776a..bbdd55a 100644 --- a/bumpver.toml +++ b/bumpver.toml @@ -10,7 +10,7 @@ push = true '"version": "{version}"' ] "package-lock.json" = [ - '"version": "{version}"' + '^ "version": "{version}",$' ] "bumpver.toml" = [ 'current_version = "{version}"', diff --git a/lib/utilities.js b/lib/utilities.js index d5025b2..609b6d5 100644 --- a/lib/utilities.js +++ b/lib/utilities.js @@ -31,13 +31,12 @@ export default class Utilities { */ constructor(appName, serviceName) { this.#ssmPath = `/service/${appName}/${serviceName}/`; - this.#init(); } /** * Initializes the Utilities class's required services */ - async #init() { + async init() { await this.#loadSSMParameters(); await this.#setupDatabase(); await this.#preloadSchemas();