stop error globally (#5858)

This commit is contained in:
William Cheng
2020-04-08 21:53:51 +08:00
committed by GitHub
parent 469b21830c
commit 31ecf7306b
3 changed files with 7 additions and 1 deletions
@@ -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]@{}
@@ -3,7 +3,7 @@
#
# Generated by: OpenAPI Generator Team
#
# Generated on: 4/6/20
# Generated on: 4/8/20
#
@{
@@ -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]@{}