lib/vectory/utils.rb in vectory-0.7.0 vs lib/vectory/utils.rb in vectory-0.7.1

- old
+ new

@@ -17,10 +17,10 @@ (datauri?(uri) || url?(uri)) and return uri path = path_which_exist(uri, local_dir) path and return encode_datauri(path) - warn "Image specified at `#{uri}` does not exist." + Vectory.ui.warn "Image specified at `#{uri}` does not exist." uri # Return original provided location end def path_which_exist(uri, local_dir) options = absolute_path?(uri) ? [uri] : [uri, File.join(local_dir, uri)]