From da9bd8818d736044b33d115b157d492752aaee6e Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Sun, 29 Jan 2023 13:55:29 +0100 Subject: [PATCH] :beetle: Fix double-profile --- src/ProfileManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ProfileManager.js b/src/ProfileManager.js index 8fbcea6..740bd81 100644 --- a/src/ProfileManager.js +++ b/src/ProfileManager.js @@ -50,7 +50,7 @@ var ProfileManager = class { // profile will be created. getProfiles() { if (this._profiles.length == 0) { - this._profiles.push(this._createProfile()); + this.createProfile(); } return this._profiles;