Skip to content

Commit 3417acd

Browse files
committed
Fixes package.json path
1 parent 9ed6621 commit 3417acd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyterlab_blockly/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
__all__ = ["__version__"]
55

66
def _fetchVersion():
7-
HERE = Path(__file__).parent.resolve()
7+
HERE = Path(__package__).parent.resolve()
88

9-
for settings in HERE.rglob("packages/blockly-extension/package.json"):
9+
for settings in HERE.rglob("blockly-extension/package.json"):
1010
try:
1111
with settings.open() as f:
1212
version = json.load(f)["version"]

0 commit comments

Comments
 (0)