alfred-workflow 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/alfred.rb +2 -2
- data/lib/alfred/version.rb +1 -1
- metadata +1 -1
data/lib/alfred.rb
CHANGED
@@ -73,7 +73,7 @@ module Alfred
|
|
73
73
|
def volatile_storage_path
|
74
74
|
raise NoBundleIDError unless bundle_id
|
75
75
|
path = "#{ENV['HOME']}/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/#{bundle_id}"
|
76
|
-
unless
|
76
|
+
unless File.exist?(path)
|
77
77
|
FileUtils.mkdir_p(path)
|
78
78
|
end
|
79
79
|
path
|
@@ -83,7 +83,7 @@ module Alfred
|
|
83
83
|
def storage_path
|
84
84
|
raise NoBundleIDError unless bundle_id
|
85
85
|
path = "#{ENV['HOME']}/Library/Application Support/Alfred 2/Workflow Data/#{bundle_id}"
|
86
|
-
unless
|
86
|
+
unless File.exist?(path)
|
87
87
|
FileUtils.mkdir_p(path)
|
88
88
|
end
|
89
89
|
path
|
data/lib/alfred/version.rb
CHANGED