From 53251be4228a6383d0b83268e1c44536c45cb8d8 Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Mon, 29 Jan 2024 09:30:31 +0800 Subject: [PATCH] developer/bin: stack declarations --- developer/bin/list_running_app_ids | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/developer/bin/list_running_app_ids b/developer/bin/list_running_app_ids index c9d5964ad0bb9..b402392b0cee8 100755 --- a/developer/bin/list_running_app_ids +++ b/developer/bin/list_running_app_ids @@ -1,7 +1,7 @@ #!/usr/bin/env ruby # frozen_string_literal: true -# rubocop:disable Style/TopLevelMethodDefinition +# rubocop:disable Style/GlobalVars, Style/TopLevelMethodDefinition # # list_running_app_ids @@ -19,7 +19,6 @@ require "io/console" ### globals ### -# rubocop:disable Style/GlobalVars $opt_test = nil $COLUMNS = IO.console.winsize.last @@ -123,5 +122,4 @@ if $opt_test else report_apps end -# rubocop:enable Style/GlobalVars -# rubocop:enable Style/TopLevelMethodDefinition +# rubocop:enable Style/GlobalVars, Style/TopLevelMethodDefinition