lib/faastruby/cli/commands/function/build.rb in faastruby-0.5.12 vs lib/faastruby/cli/commands/function/build.rb in faastruby-0.5.13
- old
+ new
@@ -60,10 +60,10 @@
def build(source, output_file)
spinner = spin("[#{@function_name}] Running 'before_build' tasks...")
@yaml_config['before_build']&.each do |command|
puts `#{command}`
end
- spinner.stop(' Done!')
+ spinner.success
self.class.build(source, output_file, @function_name)
end
def shards_install
return true unless File.file?('shard.yml')