Skip to content

Commit 4dd5eb0

Browse files
committed
match multi patern from rstudio
1 parent 3f62723 commit 4dd5eb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/analysis/utils/tool-utils.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ export const getPatternFromRuntimeTool = (toolLabel: RuntimeToolLabel): string =
182182
const patterns: Record<RuntimeToolLabel, string> = {
183183
// Adding suffixes to conda, pip, and poetry environments (only conda supports R)
184184
[runtimeToolLabels.RStudio]: '.+(\\.R|\\.Rmd|\\.yml)$',
185-
[runtimeToolLabels.Jupyter]: '.+(\\.ipynb|\\.yml|\\.txt|\\.lock|\\.toml)',
186-
[runtimeToolLabels.JupyterLab]: '.+(\\.ipynb|\\.yml|\\.txt|\\.lock|\\.toml)',
185+
[runtimeToolLabels.Jupyter]: '.+(\\.ipynb|\\.yml|\\.txt|\\.lock|\\.toml)$',
186+
[runtimeToolLabels.JupyterLab]: '.+(\\.ipynb|\\.yml|\\.txt|\\.lock|\\.toml)$',
187187
};
188188
return patterns[toolLabel];
189189
};

0 commit comments

Comments
 (0)