summaryrefslogtreecommitdiff
path: root/tooling/bin/find_only_js_changes
blob: a69ee64fe141c626b08990c3336d123ea97e5863 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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