Skip to content

Commit fabf882

Browse files
committed
fix: consider showing the document in external programs a sucess
Showing external programs should be considered a success, which aligns with the original API.
1 parent ff1aa7a commit fabf882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/adapters/show-document-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default class ShowDocumentAdapter {
3535
} else {
3636
// open using Electron
3737
shell.openExternal(params.uri, { activate: params.takeFocus })
38-
return { success: false }
38+
return { success: true }
3939
}
4040
}
4141
}

0 commit comments

Comments
 (0)