From a9bb1b418c0dff3f13b188bbab47031d7af555c8 Mon Sep 17 00:00:00 2001 From: bendera Date: Tue, 9 May 2023 00:27:34 +0200 Subject: [PATCH 1/2] fix: config wasn't applied --- CHANGELOG.md | 1 + src/commands/EditorController.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5060039..3cff776 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ All notable changes to the "commit-message-editor" extension will be documented ### Fixed - The form view didn't show if the repository didn't contain any commits. ([#94](https://github.com/bendera/vscode-commit-message-editor/issues/94)) +- In some cases, the configuration was not applied at all on the editor tab. ### Added diff --git a/src/commands/EditorController.ts b/src/commands/EditorController.ts index 195db4b..960f82f 100644 --- a/src/commands/EditorController.ts +++ b/src/commands/EditorController.ts @@ -53,6 +53,7 @@ export default class EditorController { this._ui = new UiApi(this._primaryEditorPanel.webview); this._ui.sendSCMInputBoxValue(this._git.getSCMInputBoxMessage()); + this._ui.sendConfig(config); if (repo && repo.rootUri) { const repoPath = repo.rootUri.path; From 282f2146cb41530a92dd26c03b064d8c3f124b22 Mon Sep 17 00:00:00 2001 From: release-bot Date: Mon, 8 May 2023 22:33:05 +0000 Subject: [PATCH 2/2] 0.24.2-edge.9 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ed640cc..7350d90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "commit-message-editor", - "version": "0.24.2-edge.8", + "version": "0.24.2-edge.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "commit-message-editor", - "version": "0.24.2-edge.8", + "version": "0.24.2-edge.9", "license": "MIT", "dependencies": { "ajv": "^8.12.0", diff --git a/package.json b/package.json index 820ec72..a61570c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "commit-message-editor", "displayName": "Commit Message Editor", "description": "Edit commit messages in a convenient way.", - "version": "0.24.2-edge.8", + "version": "0.24.2-edge.9", "license": "MIT", "preview": false, "publisher": "adam-bender",