Skip to content

Commit

Permalink
Fixed arg position 🔨
Browse files Browse the repository at this point in the history
  • Loading branch information
dentalmisorder committed Dec 19, 2023
1 parent a101432 commit 542cda7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Actions/HashAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ internal class HashAction : IAction
public void SetData(params string[] data)
{
pathData = data[1];
filename = data.Length > 1 ? data[2] : "checksum";
separator = data.Length > 2 ? data[3] : ":";
filename = data.Length > 2 ? data[2] : "checksum";
separator = data.Length > 3 ? data[3] : ":";
}

public void Start() => Checksum(pathData, filename, separator);
Expand Down

0 comments on commit 542cda7

Please sign in to comment.