Browse Source

fix invocation

Steven Silvester 6 years ago
parent
commit
c3980b5442
2 changed files with 2 additions and 2 deletions
  1. 1 1
      examples/example_check.py
  2. 1 1
      jupyterlab/commands.py

+ 1 - 1
examples/example_check.py

@@ -43,7 +43,7 @@ class ExampleCheckApp(mod.ExampleApp):
     ip = '127.0.0.1'
 
     def start(self):
-        run_test(run_browser)
+        run_test(self, run_browser)
         super().start()
 
 

+ 1 - 1
jupyterlab/commands.py

@@ -121,7 +121,7 @@ def ensure_node_modules(cwd, logger=None):
     if ret != 0:
         yarn_proc = Process(['node', YARN_PATH], cwd=cwd, logger=logger)
         yarn_proc.wait()
-
+        parent = pjoin(HERE, '..')
         dedupe_yarn(parent, logger)
 
     return ret != 0