Skip to content

Commit 9f3c499

Browse files
authored
Adjust codeAction validation to account for notebook kind (microsoft#183859)
1 parent 8a71f85 commit 9f3c499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class CodeActionOnSaveParticipant implements IStoredFileWorkingCopySaveParticipa
157157

158158

159159

160-
if (!codeActionsOnSave.length) {
160+
if (!codeActionsOnSave.length && !notebookCodeActionsOnSave.length) {
161161
return undefined;
162162
}
163163

0 commit comments

Comments
 (0)