File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -130,19 +130,11 @@ function registerEditorWatcher() {
130130 syntaxes . includes ( syntax )
131131 ) ;
132132
133- if ( isCompatible ) {
134- // @ts -expect-error: The Nova types are outdated. This feature was added in version 5.
135- ( nova . workspace . context as Configuration ) . set (
136- "shouldDisplayFeatures" ,
137- true ,
138- ) ;
139- } else {
140- // @ts -expect-error: for the reason above
141- ( nova . workspace . context as Configuration ) . set (
142- "shouldDisplayFeatures" ,
143- false ,
144- ) ;
145- }
133+ // @ts -expect-error: The Nova types are outdated. This feature was added in version 5.
134+ ( nova . workspace . context as Configuration ) . set (
135+ "shouldDisplayFeatures" ,
136+ isCompatible ,
137+ ) ;
146138 }
147139
148140 disposable . add (
You can’t perform that action at this time.
0 commit comments