Skip to content

Commit 9ecf83d

Browse files
committed
enhance: use ConfigureAwait for commands to query submodules
Signed-off-by: leo <[email protected]>
1 parent c499978 commit 9ecf83d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/QuerySubmodules.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public QuerySubmodules(string repo)
6565
if (submodules.Count > 0)
6666
{
6767
Args = "config --file .gitmodules --list";
68-
rs = await ReadToEndAsync();
68+
rs = await ReadToEndAsync().ConfigureAwait(false);
6969
if (rs.IsSuccess)
7070
{
7171
var modules = new Dictionary<string, ModuleInfo>();
@@ -114,7 +114,7 @@ public QuerySubmodules(string repo)
114114
}
115115

116116
Args = $"--no-optional-locks status --porcelain -- {builder}";
117-
rs = await ReadToEndAsync();
117+
rs = await ReadToEndAsync().ConfigureAwait(false);
118118
if (!rs.IsSuccess)
119119
return submodules;
120120

0 commit comments

Comments
 (0)