Skip to content

Commit 491b754

Browse files
authored
Merge pull request #4 from martinRenou/fix_build
Fix TS build
2 parents ba4c2aa + 2cd7f5a commit 491b754

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

jupyterlab-unfold/_version.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33

44
__all__ = ["__version__"]
55

6+
67
def _fetchVersion():
78
HERE = Path(__file__).parent.resolve()
89

9-
for settings in HERE.rglob("package.json"):
10+
for settings in HERE.rglob("package.json"):
1011
try:
1112
with settings.open() as f:
1213
return json.load(f)["version"]
@@ -15,5 +16,5 @@ def _fetchVersion():
1516

1617
raise FileNotFoundError(f"Could not find package.json under dir {HERE!s}")
1718

18-
__version__ = _fetchVersion()
1919

20+
__version__ = _fetchVersion()

src/unfold.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222

2323
import { ITranslator } from '@jupyterlab/translation';
2424

25-
import { classes, LabIcon } from '@jupyterlab/ui-components';
25+
import { LabIcon } from '@jupyterlab/ui-components';
2626

2727
import { IStateDB } from '@jupyterlab/statedb';
2828

@@ -152,7 +152,6 @@ export class FileTreeRenderer extends DirListing.Renderer {
152152
);
153153

154154
folderOpenIcon.element({
155-
iconClass: classes('jp-Icon'),
156155
container: iconContainer,
157156
className: 'jp-DirListing-itemIcon',
158157
stylesheet: 'listing'

0 commit comments

Comments
 (0)