Skip to content

Commit 170b15a

Browse files
committed
Update condition
1 parent eed9e6c commit 170b15a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async function activate(
9898
filebrowser.model.fileChanged.connect(() => gitExtension.refreshStatus());
9999

100100
// Provided we were able to load application settings, create the extension widgets
101-
if (typeof settings !== void 0) {
101+
if (settings) {
102102
// Create the Git widget sidebar
103103
const gitPlugin = new GitWidget(gitExtension, settings, renderMime);
104104
gitPlugin.id = 'jp-git-sessions';

0 commit comments

Comments
 (0)