File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ const options = [
1313 name : 'oldFile' ,
1414 message : 'Path to the old/existing members CSV file (drag file into this window):' ,
1515 filter : function ( val ) {
16- return val . trim ( ) ;
16+ // Remove backslash escapes that come from shell path escaping
17+ // Replace "\ " with just " "
18+ return val . trim ( ) . replace ( / \\ / g, ' ' ) ;
1719 } ,
1820 validate : function ( val ) {
1921 if ( val . length === 0 ) {
@@ -27,7 +29,9 @@ const options = [
2729 name : 'newFile' ,
2830 message : 'Path to the new members CSV file (drag file into this window):' ,
2931 filter : function ( val ) {
30- return val . trim ( ) ;
32+ // Remove backslash escapes that come from shell path escaping
33+ // Replace "\ " with just " "
34+ return val . trim ( ) . replace ( / \\ / g, ' ' ) ;
3135 } ,
3236 validate : function ( val ) {
3337 if ( val . length === 0 ) {
You can’t perform that action at this time.
0 commit comments