Skip to content

Commit ab38e62

Browse files
committed
do not rtrim whitespace
fixes microsoft#12013
1 parent 89441c9 commit ab38e62

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/vs/workbench/parts/files/electron-browser/fileActions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,6 @@ export function getWellFormedFileName(filename: string): string {
14921492

14931493
// Remove trailing dots, slashes, and spaces
14941494
filename = strings.rtrim(filename, '.');
1495-
filename = strings.rtrim(filename, ' ');
14961495
filename = strings.rtrim(filename, '/');
14971496
filename = strings.rtrim(filename, '\\');
14981497

0 commit comments

Comments
 (0)