lono 0.3.1 → 0.3.2
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/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