From 1d37f75add21e0abfb57815f35c2b258123afb33 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Wed, 26 Oct 2022 16:35:24 +1000 Subject: [PATCH] pre-commit: add hook `check-shebang-scripts-are-executable` chmod +x ./mrbgems/mruby-bin-config/mruby-config https://github.com/pre-commit/pre-commit-hooks#check-shebang-scripts-are-executable --- .pre-commit-config.yaml | 1 + mrbgems/mruby-bin-config/mruby-config | 0 2 files changed, 1 insertion(+) mode change 100644 => 100755 mrbgems/mruby-bin-config/mruby-config diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b38ae58dd..82c86875a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,6 +17,7 @@ repos: - id: check-executables-have-shebangs exclude: ^test/t/lang\.rb$ - id: check-merge-conflict + - id: check-shebang-scripts-are-executable - id: check-vcs-permalinks - id: check-yaml - id: detect-private-key diff --git a/mrbgems/mruby-bin-config/mruby-config b/mrbgems/mruby-bin-config/mruby-config old mode 100644 new mode 100755