Skip to content

Commit 89705cc

Browse files
committed
Avoid potential undef method error '+' for nil
1 parent 50447fc commit 89705cc

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def run
4747
else
4848
progs = progfiles_env['ProgramFiles'] # x86
4949
end
50-
path = progs + '\\Steam\\config'
50+
path = "#{progs}\\Steam\\config"
5151

5252
print_status("Checking for Steam configs in #{path}")
5353

0 commit comments

Comments
 (0)