fix warning
This commit is contained in:
parent
4a03dfbfe9
commit
55c5a93102
1 changed files with 2 additions and 2 deletions
|
@ -177,7 +177,7 @@ class ZigDebuggerToolchainService {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
downloadAndUnArchive(project, baseDir, downloadableBinaries)
|
downloadAndUnArchive(baseDir, downloadableBinaries)
|
||||||
return DownloadResult.Ok(baseDir)
|
return DownloadResult.Ok(baseDir)
|
||||||
} catch (e: IOException) {
|
} catch (e: IOException) {
|
||||||
//TODO logging
|
//TODO logging
|
||||||
|
@ -215,7 +215,7 @@ class ZigDebuggerToolchainService {
|
||||||
|
|
||||||
@Throws(IOException::class)
|
@Throws(IOException::class)
|
||||||
@RequiresEdt
|
@RequiresEdt
|
||||||
private suspend fun downloadAndUnArchive(project: Project?, baseDir: Path, binariesToDownload: List<DownloadableDebuggerBinary>) {
|
private suspend fun downloadAndUnArchive(baseDir: Path, binariesToDownload: List<DownloadableDebuggerBinary>) {
|
||||||
val service = DownloadableFileService.getInstance()
|
val service = DownloadableFileService.getInstance()
|
||||||
|
|
||||||
val downloadDir = baseDir.toFile()
|
val downloadDir = baseDir.toFile()
|
||||||
|
|
Loading…
Add table
Reference in a new issue