Skip to content

Commit 645e7f3

Browse files
committed
Fix upgrade script
1 parent aad43d5 commit 645e7f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildutils/src/upgrade-lab-dependencies.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function absoluteVersion(version: string): string {
148148
return version;
149149
}
150150

151-
const versionPattern = /(jupyterlab)>=[\d.]+(?:a|b|rc\d+)?,<[\d.]+/g;
151+
const versionPattern = /(jupyterlab)(>=[\d.]+(?:[a|b|rc]\d+)?,<[\d.]+)/g;
152152

153153
const FILES_TO_UPDATE = ['pyproject.toml', '.pre-commit-config.yaml'];
154154

0 commit comments

Comments
 (0)