summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Davis <mdavis@ansible.com>2016-10-28 09:34:09 -0700
committerMatt Davis <mdavis@ansible.com>2016-10-28 09:41:57 -0700
commit08388fb31b96655f0efecd40d01b614284530027 (patch)
treed0058cd2ebbcee8a337371af021a47a57cae117d
parent9b30c8dc3ab8bcaad87aeccda57891481f13f10c (diff)
downloadansible-modules-core-temp-post-2.2.0-staging.tar.gz
fix JSON junk in win_file state=directory casetemp-post-2.2.0-staging
(cherry picked from commit fdf92ade263474ddde48ddc306fd56de47e610ec)
-rw-r--r--windows/win_file.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/windows/win_file.ps1 b/windows/win_file.ps1
index 958f9f04..e064c5c6 100644
--- a/windows/win_file.ps1
+++ b/windows/win_file.ps1
@@ -102,7 +102,7 @@ Else
If ( $state -eq "directory" )
{
- New-Item -ItemType directory -Path $path
+ New-Item -ItemType directory -Path $path | Out-Null
$result.changed = $TRUE
}