Skip to content

Commit

Permalink
win_pagefile: not using testPath (#57093)
Browse files Browse the repository at this point in the history
* win_pagefile: not using testPath

* Added changelog
  • Loading branch information
ShachafGoldstein authored and ansibot committed Jun 10, 2019
1 parent 1ed7a65 commit a87495d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
@@ -0,0 +1,2 @@
bugfixes:
- "win_pagefile - not using testPath"
2 changes: 1 addition & 1 deletion lib/ansible/modules/windows/win_pagefile.ps1
Expand Up @@ -91,7 +91,7 @@ if ($state -eq "absent") {
}

# Make sure drive is accessible
if (($test_path) -and (-not (Test-Path "${drive}:"))) {
if (($testPath) -and (-not (Test-Path "${drive}:"))) {
Fail-Json $result "Unable to access '${drive}:' drive"
}

Expand Down
1 change: 0 additions & 1 deletion test/sanity/pslint/ignore.txt
Expand Up @@ -99,7 +99,6 @@ lib/ansible/modules/windows/win_pagefile.ps1 PSAvoidUsingCmdletAliases
lib/ansible/modules/windows/win_pagefile.ps1 PSAvoidUsingPositionalParameters
lib/ansible/modules/windows/win_pagefile.ps1 PSAvoidUsingWMICmdlet
lib/ansible/modules/windows/win_pagefile.ps1 PSCustomUseLiteralPath
lib/ansible/modules/windows/win_pagefile.ps1 PSUseDeclaredVarsMoreThanAssignments
lib/ansible/modules/windows/win_pagefile.ps1 PSUseSupportsShouldProcess
lib/ansible/modules/windows/win_pester.ps1 PSCustomUseLiteralPath
lib/ansible/modules/windows/win_product_facts.ps1 PSAvoidTrailingWhitespace
Expand Down

0 comments on commit a87495d

Please sign in to comment.