Explorar el Código

Merge pull request #2366 from blink1073/fix-staging-files

Avoid needing to change the owner of staging files
Brian E. Granger hace 8 años
padre
commit
f903c11834
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      jupyterlab/commands.py

+ 1 - 1
jupyterlab/commands.py

@@ -330,7 +330,7 @@ def _ensure_package(app_dir, name=None, version=None):
 
     for fname in ['index.app.js', 'webpack.config.js']:
         dest = pjoin(staging, fname.replace('.app', ''))
-        shutil.copy2(pjoin(here, fname), dest)
+        shutil.copy(pjoin(here, fname), dest)
 
     # Template the package.json file.
     pkg_path = pjoin(here, 'package.app.json')