Skip to content

Commit 60ac944

Browse files
authored
Merge pull request #40 from hbcarlos/fix_path
Fixes package.json path
2 parents 9ed6621 + 3417acd commit 60ac944

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)