Skip to content

Commit d36c5db

Browse files
scorteanucosminMrBlue
authored andcommitted
Update download file logic for debug builds
1 parent 158c72e commit d36c5db

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/CompilerService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,12 @@ internal bool Precheck()
175175
Log(LogType.Debug, $"Preprocessors are: {string.Join(", ", _preprocessor)}");
176176
#endif
177177

178-
178+
#if !DEBUG
179179
if (!DownloadFile(_remoteName, _filePath))
180180
{
181181
return false;
182182
}
183+
#endif
183184

184185
return SetFilePermissions(_filePath);
185186
}

0 commit comments

Comments
 (0)