Skip to content

Commit

Permalink
Addressing issue #296
Browse files Browse the repository at this point in the history
  • Loading branch information
DarqueWarrior committed May 1, 2020
1 parent cdcdcad commit 89ea934
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions Source/Private/callMembershipAPI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ function _callMembershipAPI {
[ValidateSet('', 'Up', 'Down')]
[string] $Direction
)
Set-StrictMode -Version Latest

# This will throw if this account does not support the graph API
_supportsGraph

Expand Down
2 changes: 0 additions & 2 deletions Source/Private/common.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Set-StrictMode -Version Latest

$here = Split-Path -Parent $MyInvocation.MyCommand.Path

[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseDeclaredVarsMoreThanAssignments", "It is used in other files")]
Expand Down
2 changes: 0 additions & 2 deletions Source/Public/Test-VSTeamMembership.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ function Test-VSTeamMembership {
)

process {
Set-StrictMode -Version Latest

$PrevWarningPreference = $WarningPreference
try {
$WarningPreference = "SilentlyContinue" # avoid 404 warning, since that indicates it doesn't exist
Expand Down

0 comments on commit 89ea934

Please sign in to comment.