Skip to content

Commit ff42780

Browse files
committed
formatting
1 parent 6623327 commit ff42780

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

lib/Parse-GitStatus.ps1

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,27 @@ function Parse-GitStatus($includeNumstat = $false, $extraArgs) {
5353
$staged = $_[0] -ne " " -and $_[0] -ne "?"
5454
if ($staged) {
5555
$hasStaged = $true
56-
$returns += @{state=$_[0];file=$gitRootPath;staged=$true;fullPath=$fullPath;relativePath=$relativePath;oldFile=$oldFilename}
56+
$returns += @{
57+
state=$_[0];
58+
file=$gitRootPath;
59+
staged=$true;
60+
fullPath=$fullPath;
61+
relativePath=$relativePath;
62+
oldFile=$oldFilename;
63+
}
5764
}
5865

5966
$isWorkingDir = $_[1] -ne " "
6067
if ($isWorkingDir) {
6168
$hasWorkingDir = $true
6269
$state = If ($_[1] -eq "?") {"A"} Else {$_[1]}
63-
$returns += @{state=$state;file=$gitRootPath;staged=$false;fullPath=$fullPath;relativePath=$relativePath}
70+
$returns += @{
71+
state=$state;
72+
file=$gitRootPath;
73+
staged=$false;
74+
fullPath=$fullPath;
75+
relativePath=$relativePath;
76+
}
6477
}
6578
return $returns
6679

0 commit comments

Comments
 (0)