From eb0aa2105ce17c81b470a2c0862106ba0159c002 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Thu, 26 May 2022 09:29:09 +0200 Subject: [PATCH] Lint --- lib/format_staged.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/format_staged.rb b/lib/format_staged.rb index d651d1c..0eb0d9c 100644 --- a/lib/format_staged.rb +++ b/lib/format_staged.rb @@ -19,7 +19,7 @@ class FormatStaged @write = write @verbose = verbose - String.disable_colorization = !(color_output || STDOUT.isatty) + String.disable_colorization = !(color_output || $stdout.isatty) end def run