debian-mirror-gitlab/tooling/bin/find_only_js_changes
2023-06-20 00:43:36 +05:30

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