distil 0.14.2 → 0.14.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/distil.gemspec +1 -1
- data/lib/distil/source-file/javascript-file.rb +3 -3
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.14.
|
1
|
+
0.14.3
|
data/distil.gemspec
CHANGED
@@ -83,16 +83,16 @@ module Distil
|
|
83
83
|
|
84
84
|
line.scan(DISTIL_ASSET_REGEX) do |match|
|
85
85
|
asset= project.file_from_path(File.join(dirname, $2))
|
86
|
-
if asset
|
86
|
+
if File.exists?(asset)
|
87
87
|
add_asset(asset)
|
88
88
|
else
|
89
|
-
error "Missing asset file: #{$
|
89
|
+
error "Missing asset file: #{$2}", line_num
|
90
90
|
end
|
91
91
|
end
|
92
92
|
|
93
93
|
line.scan(NIB_ASSET_REGEX) do |match|
|
94
94
|
asset= project.file_from_path(File.join(dirname, $2))
|
95
|
-
if asset
|
95
|
+
if File.exists?(asset)
|
96
96
|
add_asset(asset)
|
97
97
|
else
|
98
98
|
error "Missing asset file: #{$2}", line_num
|