bin/flex-station in flex-station-data-1.0.1 vs bin/flex-station in flex-station-data-1.0.2
- old
+ new
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
require "pathname"
require "flex_station_data/concerns/callable"
class App
@@ -26,10 +27,10 @@
when "linear-regression"
exec(linear_regression_path.to_path, *args)
when "help", "--help"
puts "USAGE: flex-station <command>"
else
- $stderr.puts "Unrecognised command: #{command}"
+ warn "Unrecognised command: #{command}"
exit(1)
end
end
end