We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47ba144 commit c25743fCopy full SHA for c25743f
plans/util/retrieve_and_upload.pp
@@ -32,7 +32,7 @@
32
$operating_system = run_task('peadm::os_identification', 'local://localhost')
33
$os_string = $operating_system.first.value['osfamily']
34
35
-if os_string == 'windows'{
+if os_string == 'windows' {
36
37
$exists = run_command("[System.IO.File]::Exists('${local_path}')", 'local://localhost')
38
@@ -58,12 +58,12 @@
58
}
59
60
61
62
$result_size = run_task('peadm::filesize', 'local://localhost',
63
path => $local_path,
64
)
65
- $local_size = $result_size['size']
66
-}else{
+ $local_size = $result_size['size']
+} else {
67
$local_size = run_task('peadm::filesize', 'local://localhost',
68
69
).first['size']
0 commit comments