xqcoretools 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/xqcoretools +2 -2
- metadata +1 -1
data/bin/xqcoretools
CHANGED
@@ -237,7 +237,7 @@ class XQCoreToolsDownloadCache
|
|
237
237
|
file = @cacheFolder + "/#{url}"
|
238
238
|
dir = File.dirname(file)
|
239
239
|
|
240
|
-
if !
|
240
|
+
if !File.exists? dir
|
241
241
|
FileUtils.mkdir_p dir
|
242
242
|
end
|
243
243
|
|
@@ -252,7 +252,7 @@ class XQCoreToolsDownloadCache
|
|
252
252
|
cachedFile = cacheFile(url)
|
253
253
|
|
254
254
|
dir = File.dirname(file)
|
255
|
-
if !
|
255
|
+
if !File.exists? dir
|
256
256
|
FileUtils.mkdir_p dir
|
257
257
|
end
|
258
258
|
|