win_defrag: Fix pslint issues (#37719)

This commit is contained in:
Dag Wieers 2018-03-22 00:06:42 +01:00 committed by GitHub
parent f78b415db0
commit fdc0e5c5fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!powershell
# -*- coding: utf-8 -*-
#
# Copyright: (c) 2017, Dag Wieers (@dagwieers) <dag@wieers.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
@ -63,7 +63,7 @@ namespace Ansible.Command {
}
'@
$util_type = Add-Type -TypeDefinition $util_def
Add-Type -TypeDefinition $util_def
$arguments = ""

View file

@ -22,7 +22,6 @@ lib/ansible/modules/windows/win_chocolatey.ps1 PSUseDeclaredVarsMoreThanAssignme
lib/ansible/modules/windows/win_chocolatey.ps1 PSUseOutputTypeCorrectly
lib/ansible/modules/windows/win_copy.ps1 PSUseApprovedVerbs
lib/ansible/modules/windows/win_copy.ps1 PSUseDeclaredVarsMoreThanAssignments
lib/ansible/modules/windows/win_defrag.ps1 PSUseDeclaredVarsMoreThanAssignments
lib/ansible/modules/windows/win_dns_client.ps1 PSAvoidGlobalVars
lib/ansible/modules/windows/win_dns_client.ps1 PSAvoidUsingCmdletAliases
lib/ansible/modules/windows/win_dns_client.ps1 PSAvoidUsingWMICmdlet