Skip to content

Commit 300e008

Browse files
committed
squash script analyzer warning
1 parent 8cd5900 commit 300e008

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

PoshBot/Classes/Bot.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidGlobalVars', '', Scope='Class', Target='*')]
23
class Bot : BaseLogger {
34

45
# Friendly name for the bot

PoshBot/Implementations/Slack/SlackBackend.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,7 @@ function New-PoshBotSlackBackend {
869869
SlackBackend
870870
#>
871871
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseShouldProcessForStateChangingFunctions', '', Scope='Function', Target='*')]
872+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '', Scope='Function', Target='*')]
872873
[cmdletbinding()]
873874
param(
874875
[parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)]

0 commit comments

Comments
 (0)