Skip to content

Commit a9c3c5d

Browse files
committed
Fix typos
1 parent 831c7a0 commit a9c3c5d

File tree

1 file changed

+3
-3
lines changed
  • modules/post/windows/gather/credentials

1 file changed

+3
-3
lines changed

modules/post/windows/gather/credentials/winscp.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ def run
115115
env = get_envs('APPDATA', prog_files_env, 'USERNAME')
116116

117117
if env['APPDATA'].nil?
118-
fail_with(Failure::Unknown, 'Target does not hav environment variable APPDATA')
118+
fail_with(Failure::Unknown, 'Target does not have environment variable APPDATA')
119119
elsif env[prog_files_env].nil?
120-
fail_with(Failure::Unknown, "Target does not hav environment variable #{prog_files_env}")
120+
fail_with(Failure::Unknown, "Target does not have environment variable #{prog_files_env}")
121121
elsif env['USERNAME'].nil?
122-
fail_with(Failure::Unknown, 'Target does not hav environment variable USERNAME')
122+
fail_with(Failure::Unknown, 'Target does not have environment variable USERNAME')
123123
end
124124

125125
user_dir = "#{env['APPDATA']}\\..\\.."

0 commit comments

Comments
 (0)