Skip to content

Commit b7d0c51

Browse files
authored
Merge pull request #184 from travis-ci/meat-sudo-deprecated
Add explicit exception for sudo: deprecated
2 parents 4874460 + ae21e80 commit b7d0c51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/travis/queue/sudo.rb

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module Travis
55
class Queue
66
class Sudo < Struct.new(:repo, :job_config, :config)
77
def value
8+
return 'deprecated' if job_config[:sudo] == 'deprecated'
89
return 'required' if sudo_used? ||
910
force_linux_sudo_required?
1011
return specified if specified?

0 commit comments

Comments
 (0)