File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,16 @@ call conda env list | findstr /C:"diff_check" >nul 2>nul
3737if %ERRORLEVEL% neq 0 (
3838 echo diff_check environment not found, creating it now...
3939
40- call conda env create -f environment.yml
41- if %ERRORLEVEL% neq 0 (
40+ conda env create -f environment.yml && (
41+ echo Environment created successfully.
42+ ) || (
4243 echo Failed to create diff_check environment, please check the environment.yml file.
4344 exit /b 1
4445 )
4546) else (
4647 echo diff_check environment is available, updating it now...
4748
48- call conda env update --name diff_check --file environment.yml --prune
49+ conda env update --name diff_check --file environment.yml --prune
4950 if %ERRORLEVEL% neq 0 (
5051 echo Failed to update diff_check environment, please check the environment.yml file.
5152 exit /b 1
You can’t perform that action at this time.
0 commit comments