Remove useless ignore_interrupts
.
This commit is contained in:
parent
27a70a40c2
commit
6f58bffc5c
@ -43,12 +43,11 @@ class GitHubArtifactDownloadStrategy < AbstractFileDownloadStrategy
|
|||||||
rescue ErrorDuringExecution
|
rescue ErrorDuringExecution
|
||||||
raise CurlDownloadStrategyError, url
|
raise CurlDownloadStrategyError, url
|
||||||
end
|
end
|
||||||
ignore_interrupts do
|
|
||||||
cached_location.dirname.mkpath
|
cached_location.dirname.mkpath
|
||||||
temporary_path.rename(cached_location)
|
temporary_path.rename(cached_location)
|
||||||
|
end
|
||||||
|
|
||||||
symlink_location.dirname.mkpath
|
symlink_location.dirname.mkpath
|
||||||
end
|
|
||||||
end
|
|
||||||
FileUtils.ln_s cached_location.relative_path_from(symlink_location.dirname), symlink_location, force: true
|
FileUtils.ln_s cached_location.relative_path_from(symlink_location.dirname), symlink_location, force: true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user