12 lines
280 B
Ruby
Executable file
12 lines
280 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
# frozen_string_literal: true
|
|
|
|
require_relative '../lib/tooling/find_changes'
|
|
|
|
if Tooling::FindChanges.new(from: :api).only_js_files_changed
|
|
puts "Only JS files were changed"
|
|
exit 0
|
|
else
|
|
puts "Changes were made to files other than JS files"
|
|
exit 1
|
|
end
|