Skip to content

Commit df3970f

Browse files
committed
Update path to js in commands
1 parent b8375f3 commit df3970f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commands.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from distutils import log
1010

1111
project_root = os.path.dirname(os.path.abspath(__file__))
12-
node_root = os.path.join(project_root, "js")
12+
node_root = os.path.join(project_root, "plotly", "labextension")
1313
is_repo = os.path.exists(os.path.join(project_root, ".git"))
1414
node_modules = os.path.join(node_root, "node_modules")
1515
targets = [
@@ -23,9 +23,9 @@
2323
]
2424
)
2525

26-
# Load plotly.js version from js/package.json
26+
# Load plotly.js version from plotly/labextension/package.json
2727
def plotly_js_version():
28-
path = os.path.join(project_root, "js", "package.json")
28+
path = os.path.join(project_root, "plotly", "labextension", "package.json")
2929
with open(path, "rt") as f:
3030
package_json = json.load(f)
3131
version = package_json["dependencies"]["plotly.js"]

0 commit comments

Comments
 (0)