Skip to content

Commit

Permalink
Fixed space in path to script
Browse files Browse the repository at this point in the history
  • Loading branch information
swissbuechi committed Oct 26, 2023
1 parent 0d0187e commit 2a1fa8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/autoupdate/start.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def start(interval:, args:)
set_env << "\nexport HOMEBREW_CASK_OPTS=#{env_cask}" if env_cask

if args.sudo?
set_env << "\nexport SUDO_ASKPASS=#{Autoupdate::Core.location/"brew_autoupdate_sudo_gui"}"
set_env << "\nexport SUDO_ASKPASS='#{Autoupdate::Core.location/"brew_autoupdate_sudo_gui"}'"
sudo_gui_script_contents = <<~EOS
#!/bin/sh

Check failure on line 100 in lib/autoupdate/start.rb

View workflow job for this annotation

GitHub Actions / tests

Layout/HeredocIndentation: Use 2 spaces for indentation in a heredoc.
export PATH='#{env_path}'
Expand Down

0 comments on commit 2a1fa8d

Please sign in to comment.