Skip to content

Commit

Permalink
win_product_facts: Fix pslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dagwieers committed Mar 21, 2018
1 parent 04539ca commit f94e1ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/ansible/modules/windows/win_product_facts.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!powershell
# This file is part of Ansible
# -*- 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)
Expand All @@ -8,7 +8,8 @@

$ErrorActionPreference = "Stop"

$params = Parse-Args -arguments $args -supports_check_mode $true
# This module does not use any module parameters, this avoids pslint complaining
#$params = Parse-Args -arguments $args -supports_check_mode $true

$result = @{
changed = $false
Expand Down
1 change: 0 additions & 1 deletion test/sanity/pslint/ignore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ lib/ansible/modules/windows/win_pagefile.ps1 PSAvoidUsingWMICmdlet
lib/ansible/modules/windows/win_pagefile.ps1 PSUseDeclaredVarsMoreThanAssignments
lib/ansible/modules/windows/win_pagefile.ps1 PSUseSupportsShouldProcess
lib/ansible/modules/windows/win_power_plan.ps1 PSUseDeclaredVarsMoreThanAssignments
lib/ansible/modules/windows/win_product_facts.ps1 PSUseDeclaredVarsMoreThanAssignments
lib/ansible/modules/windows/win_psexec.ps1 PSUseDeclaredVarsMoreThanAssignments
lib/ansible/modules/windows/win_psmodule.ps1 PSAvoidUsingCmdletAliases
lib/ansible/modules/windows/win_rabbitmq_plugin.ps1 PSAvoidUsingCmdletAliases
Expand Down

0 comments on commit f94e1ad

Please sign in to comment.