Skip to content

Commit c25743f

Browse files
committed
PE-38219 - Installer - Windows as Jump host support - linting
1 parent 47ba144 commit c25743f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plans/util/retrieve_and_upload.pp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
$operating_system = run_task('peadm::os_identification', 'local://localhost')
3333
$os_string = $operating_system.first.value['osfamily']
3434

35-
if os_string == 'windows'{
35+
if os_string == 'windows' {
3636

3737
$exists = run_command("[System.IO.File]::Exists('${local_path}')", 'local://localhost')
3838

@@ -58,12 +58,12 @@
5858
}
5959
}
6060

61-
if os_string == 'windows'{
61+
if os_string == 'windows' {
6262
$result_size = run_task('peadm::filesize', 'local://localhost',
6363
path => $local_path,
6464
)
65-
$local_size = $result_size['size']
66-
}else{
65+
$local_size = $result_size['size']
66+
} else {
6767
$local_size = run_task('peadm::filesize', 'local://localhost',
6868
path => $local_path,
6969
).first['size']

0 commit comments

Comments
 (0)