Skip to content

Commit fc97c1a

Browse files
ibaogerSibras
andcommitted
Fix issue (#61)
* Fix issue * Remove use of WHERE WHERE searches everywhere which can result in git.exe being found but that git is not on the PATH and such got command still fail --------- Co-authored-by: Matthew Oliver <[email protected]>
1 parent 47790d8 commit fc97c1a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/smp_project_get_dependencies

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ IF EXIST "%REPONAME%" (
6969
REM Once updated the repo needs to be reset to correct the local line endings
7070
cd %REPONAME%
7171
git config --local core.autocrlf false
72-
git rm --cached -r . --quiet
72+
git rm --cached --ignore-unmatch -r . --quiet
7373
git reset --hard --quiet
7474
cd ..\
7575
)
@@ -150,4 +150,5 @@ ECHO %CMDCMDLINE% | FINDSTR /L %COMSPEC% >NUL 2>&1
150150
IF %ERRORLEVEL% == 0 IF "%~1"=="" PAUSE
151151

152152
:return
153-
EXIT /B %ERROR%
153+
EXIT /B %ERROR%
154+

0 commit comments

Comments
 (0)