Add check mode support for Windows modules that don't modify the remote system.

pull/18777/head
Chris Church 9 years ago committed by Matt Clay
parent bb6762dffd
commit 1b6edab87c

@ -17,7 +17,7 @@
# WANT_JSON # WANT_JSON
# POWERSHELL_COMMON # POWERSHELL_COMMON
$params = Parse-Args $args; $params = Parse-Args $args $true;
$src = Get-Attr $params "src" (Get-Attr $params "path" $FALSE); $src = Get-Attr $params "src" (Get-Attr $params "path" $FALSE);
If (-not $src) If (-not $src)

@ -17,7 +17,7 @@
# WANT_JSON # WANT_JSON
# POWERSHELL_COMMON # POWERSHELL_COMMON
$params = Parse-Args $args; $params = Parse-Args $args $true;
$data = Get-Attr $params "data" "pong"; $data = Get-Attr $params "data" "pong";

@ -17,7 +17,7 @@
# WANT_JSON # WANT_JSON
# POWERSHELL_COMMON # POWERSHELL_COMMON
$params = Parse-Args $args; $params = Parse-Args $args $true;
function Date_To_Timestamp($start_date, $end_date) function Date_To_Timestamp($start_date, $end_date)
{ {

Loading…
Cancel
Save