mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
win_defrag: Fix pslint issues (#37719)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!powershell
|
#!powershell
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
|
||||||
# Copyright: (c) 2017, Dag Wieers (@dagwieers) <dag@wieers.com>
|
# 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)
|
# 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 = ""
|
$arguments = ""
|
||||||
|
|
||||||
|
|||||||
@@ -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_chocolatey.ps1 PSUseOutputTypeCorrectly
|
||||||
lib/ansible/modules/windows/win_copy.ps1 PSUseApprovedVerbs
|
lib/ansible/modules/windows/win_copy.ps1 PSUseApprovedVerbs
|
||||||
lib/ansible/modules/windows/win_copy.ps1 PSUseDeclaredVarsMoreThanAssignments
|
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 PSAvoidGlobalVars
|
||||||
lib/ansible/modules/windows/win_dns_client.ps1 PSAvoidUsingCmdletAliases
|
lib/ansible/modules/windows/win_dns_client.ps1 PSAvoidUsingCmdletAliases
|
||||||
lib/ansible/modules/windows/win_dns_client.ps1 PSAvoidUsingWMICmdlet
|
lib/ansible/modules/windows/win_dns_client.ps1 PSAvoidUsingWMICmdlet
|
||||||
|
|||||||
Reference in New Issue
Block a user