ensure-repo.ts
fails before build when a file gets deleted
#15685
Labels
ensure-repo.ts
fails before build when a file gets deleted
#15685
The
ensureBranch
method checks files for stale references to wrong branch. When removing a file which is under version controljlpm run build
will fail on that method with a message like:This is because until the removal is committed, the file will show up in the output of:
jupyterlab/buildutils/src/ensure-repo.ts
Lines 334 to 337 in ae54125
and the script then attempts to load it with
jupyterlab/buildutils/src/ensure-repo.ts
Lines 355 to 360 in ae54125
Workaround
Commit the removal of the file
Future solution
We could either:
ENOENT
codeTohughts?
The text was updated successfully, but these errors were encountered: