Sha256: 0dcca457a4441ae7f183a1fff481887229d532071113e8ba1c1f50ddf625c814
Contents?: true
Size: 283 Bytes
Versions: 17
Compression:
Stored size: 283 Bytes
Contents
#!/usr/bin/env ruby require 'pre-commit/cli' # Change directory to the root of the git repository. repo_root = `git rev-parse --show-toplevel`.strip abort "No .git directory found." unless File.directory?(repo_root) Dir.chdir repo_root PreCommit::Cli.new(*ARGV).execute or exit 1
Version data entries
17 entries across 17 versions & 1 rubygems