You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by se...@apache.org on 2024/01/19 04:49:45 UTC
(openwhisk-vscode-extension) 01/01: Provide action kind when update action code
This is an automated email from the ASF dual-hosted git repository.
seonghyun pushed a commit to branch provide-kind
in repository https://gitbox.apache.org/repos/asf/openwhisk-vscode-extension.git
commit b8f1b1f6440cc282d3725bdafc55be5b735927bd
Author: seonghyun <oh...@navercorp.com>
AuthorDate: Fri Jan 19 13:41:40 2024 +0900
Provide action kind when update action code
---
src/commands/editAction.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/commands/editAction.ts b/src/commands/editAction.ts
index 022f32f..ccda424 100644
--- a/src/commands/editAction.ts
+++ b/src/commands/editAction.ts
@@ -75,6 +75,7 @@ vscode.workspace.onDidSaveTextDocument(async (doc: vscode.TextDocument) => {
await action.client.actions.update({
name: action.getFullName(),
action: doc.getText(),
+ kind: action.kind,
});
vscode.window.showInformationMessage(`The action code is updated`);
}