Skip to content

Commit 9bb0d5d

Browse files
Initialize return array in Get-FabricSQLDatabase
This change introduces an initialization of the return array at the beginning of the Get-FabricSQLDatabase function. This will ensure that the function has a defined return structure, improving its reliability and maintainability. Thank you!
1 parent d7c577e commit 9bb0d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Public/SQL Database/Get-FabricSQLDatabase.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function Get-FabricSQLDatabase
8080

8181
begin
8282
{
83-
83+
$return = @()
8484
Confirm-TokenState
8585

8686
if ($PSBoundParameters.ContainsKey("SQLDatabaseName") -and $PSBoundParameters.ContainsKey("SQLDatabaseId"))

0 commit comments

Comments
 (0)