Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
richardelms committed Jan 13, 2025
1 parent 726f7d3 commit 5be8be3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,9 @@
AfterAll do
case Maze::Helper.get_current_platform
when 'macos'
if Maze.config.app.nil?
return
if !Maze.config.app.nil?
app_name = Maze.config.app.gsub /\.app$/, ''
Maze::Runner.run_command("log show --predicate '(process == \"#{app_name}\")' --style syslog --start '#{Maze.start_time}' > #{app_name}.log")
end
app_name = Maze.config.app.gsub /\.app$/, ''
Maze::Runner.run_command("log show --predicate '(process == \"#{app_name}\")' --style syslog --start '#{Maze.start_time}' > #{app_name}.log")
end
end

0 comments on commit 5be8be3

Please sign in to comment.