File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
4
4
__all__ = ["__version__" ]
5
5
6
+
6
7
def _fetchVersion ():
7
8
HERE = Path (__file__ ).parent .resolve ()
8
9
9
- for settings in HERE .rglob ("package.json" ):
10
+ for settings in HERE .rglob ("package.json" ):
10
11
try :
11
12
with settings .open () as f :
12
13
return json .load (f )["version" ]
@@ -15,5 +16,5 @@ def _fetchVersion():
15
16
16
17
raise FileNotFoundError (f"Could not find package.json under dir { HERE !s} " )
17
18
18
- __version__ = _fetchVersion ()
19
19
20
+ __version__ = _fetchVersion ()
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import {
22
22
23
23
import { ITranslator } from '@jupyterlab/translation' ;
24
24
25
- import { classes , LabIcon } from '@jupyterlab/ui-components' ;
25
+ import { LabIcon } from '@jupyterlab/ui-components' ;
26
26
27
27
import { IStateDB } from '@jupyterlab/statedb' ;
28
28
@@ -152,7 +152,6 @@ export class FileTreeRenderer extends DirListing.Renderer {
152
152
) ;
153
153
154
154
folderOpenIcon . element ( {
155
- iconClass : classes ( 'jp-Icon' ) ,
156
155
container : iconContainer ,
157
156
className : 'jp-DirListing-itemIcon' ,
158
157
stylesheet : 'listing'
You can’t perform that action at this time.
0 commit comments