File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/Files.App/Actions/Git Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ public GitSyncAction()
23
23
_context . PropertyChanged += Context_PropertyChanged ;
24
24
}
25
25
26
- public Task ExecuteAsync ( object ? parameter = null )
26
+ public async Task ExecuteAsync ( object ? parameter = null )
27
27
{
28
28
var instance = _context . ShellPage ? . InstanceViewModel ;
29
29
30
- return GitHelpers . PullOriginAsync ( instance ? . GitRepositoryPath )
31
- . ContinueWith ( t => GitHelpers . PushToOriginAsync (
32
- instance ? . GitRepositoryPath ,
33
- instance ? . GitBranchName ) ) ;
30
+ await GitHelpers . PullOriginAsync ( instance ? . GitRepositoryPath ) ;
31
+ await GitHelpers . PushToOriginAsync (
32
+ instance ? . GitRepositoryPath ,
33
+ instance ? . GitBranchName ) ;
34
34
}
35
35
36
36
private void Context_PropertyChanged ( object ? sender , PropertyChangedEventArgs e )
You can’t perform that action at this time.
0 commit comments