Skip to content

Commit cffcf34

Browse files
authored
fix: query file size quote filename (#629)
Signed-off-by: Gadfly <[email protected]>
1 parent 9816a5e commit cffcf34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/QueryFileSize.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public QueryFileSize(string repo, string file, string revision)
1111
{
1212
WorkingDirectory = repo;
1313
Context = repo;
14-
Args = $"ls-tree {revision} -l -- {file}";
14+
Args = $"ls-tree {revision} -l -- \"{file}\"";
1515
}
1616

1717
public long Result()

0 commit comments

Comments
 (0)