File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,17 +82,17 @@ export function currentEnvironment(...args: any[]): string | undefined {
82
82
if ( args [ 0 ] ) {
83
83
environmentAliases = args [ 0 ] as EnvironmentAliases ;
84
84
logger . warn ( 'Detected deprecated usage of currentEnvironment' ) ;
85
- throw new Error ( JSON . stringify ( args [ 0 ] ) )
85
+ throw new Error ( JSON . stringify ( args [ 0 ] ) ) ;
86
86
}
87
87
88
88
if ( Array . isArray ( args [ 1 ] ) ) {
89
89
environmentSourceNames = args [ 1 ] as string [ ] ;
90
90
logger . warn ( 'Detected deprecated usage of currentEnvironment' ) ;
91
- throw new Error ( JSON . stringify ( args [ 0 ] ) )
91
+ throw new Error ( JSON . stringify ( args [ 0 ] ) ) ;
92
92
} else if ( typeof args [ 1 ] === 'string' ) {
93
93
environmentSourceNames = [ args [ 1 ] ] ;
94
94
logger . warn ( 'Detected deprecated usage of currentEnvironment' ) ;
95
- throw new Error ( JSON . stringify ( args [ 0 ] ) )
95
+ throw new Error ( JSON . stringify ( args [ 0 ] ) ) ;
96
96
}
97
97
}
98
98
You can’t perform that action at this time.
0 commit comments