File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -184,18 +184,18 @@ end
184184task :rbs_inline do
185185 require "open3"
186186
187- _stdout , stderr , status = Open3 . capture3 ( "bundle exec rbs-inline --opt-out --output=sig/ lib/" )
188-
189- if ENV [ "CI" ]
190- if stderr . strip == "🎉 Generated 0 RBS files under sig/"
191- puts "RBS files in sig/ are up to date"
192- exit status . exitstatus
193- else
194- puts "RBS files in sig/ are not up to date"
195- exit 1
196- end
197- else
187+ command = "bundle exec rbs-inline --opt-out --output=sig/ lib/"
188+
189+ _stdout , stderr , status = Open3 . capture3 ( command )
190+
191+ puts "Running `#{ command } `"
192+
193+ if stderr . strip == "🎉 Generated 0 RBS files under sig/"
194+ puts "RBS files in sig/ are up to date"
198195 exit status . exitstatus
196+ else
197+ puts "RBS files in sig/ are not up to date"
198+ exit 1
199199 end
200200end
201201
You can’t perform that action at this time.
0 commit comments