Skip to content

Commit

Permalink
stop error globally (#5858)
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 authored Apr 8, 2020
1 parent 469b218 commit 31ecf73
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{{>partial_header}}
#region Import functions

# set $ErrorActionPreference to 'Stop' globally
$ErrorActionPreference = 'Stop'

# store the API client's configuration
$Script:Configuration = [System.Collections.HashTable]@{}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: OpenAPI Generator Team
#
# Generated on: 4/6/20
# Generated on: 4/8/20
#

@{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

#region Import functions

# set $ErrorActionPreference to 'Stop' globally
$ErrorActionPreference = 'Stop'

# store the API client's configuration
$Script:Configuration = [System.Collections.HashTable]@{}

Expand Down

0 comments on commit 31ecf73

Please sign in to comment.