debian-mirror-gitlab/tooling/bin/find_only_js_changes

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
280 B
Text
Raw Normal View History

2023-06-20 00:43:36 +05:30
#!/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