mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-30 06:40:42 +00: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:
parent
0729c3044a
commit
b31495b89b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue