mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-21 13:20:30 +08:00
fix: wrong pattern to fill input control's value to custom action commandline arguments (#1467)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -132,7 +132,7 @@ namespace SourceGit.ViewModels
|
||||
for (var i = ControlParameters.Count - 1; i >= 0; i--)
|
||||
{
|
||||
var param = ControlParameters[i];
|
||||
cmdline = cmdline.Replace($"${i}", param.GetValue());
|
||||
cmdline = cmdline.Replace($"${i+1}", param.GetValue());
|
||||
}
|
||||
|
||||
var log = _repo.CreateLog(CustomAction.Name);
|
||||
|
||||
Reference in New Issue
Block a user