lono 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/lono/bashify.rb +4 -0
- data/lib/lono/version.rb +1 -1
- metadata +1 -1
data/lib/lono/bashify.rb
CHANGED
@@ -24,6 +24,10 @@ module Lono
|
|
24
24
|
raw = open(@path).read
|
25
25
|
json = JSON.load(raw)
|
26
26
|
paths = user_data_paths(json)
|
27
|
+
if paths.empty?
|
28
|
+
puts "No UserData script found"
|
29
|
+
return
|
30
|
+
end
|
27
31
|
paths.each do |path|
|
28
32
|
puts "UserData script for #{path}:"
|
29
33
|
key = path.sub('/','').split("/").map {|x| "['#{x}']"}.join('')
|
data/lib/lono/version.rb
CHANGED