@@ -71,9 +71,9 @@ internal void Execute(XContainer report)
71
71
continue ;
72
72
}
73
73
74
- string path = Path . Combine ( sources [ 0 ] , fileNameAttribute . Value )
75
- . Replace ( '\\ ' , Path . DirectorySeparatorChar )
76
- . Replace ( '/' , Path . DirectorySeparatorChar ) ;
74
+ string sourcePath = sources [ 0 ] . Replace ( ' \\ ' , Path . DirectorySeparatorChar ) . Replace ( '/' , Path . DirectorySeparatorChar ) ;
75
+ string fileName = fileNameAttribute . Value . Replace ( '\\ ' , Path . DirectorySeparatorChar ) . Replace ( '/' , Path . DirectorySeparatorChar ) ;
76
+ string path = Path . Combine ( sourcePath , fileName ) ;
77
77
fileNameAttribute . Value = path ;
78
78
}
79
79
}
@@ -90,9 +90,9 @@ internal void Execute(XContainer report)
90
90
91
91
foreach ( var source in sources )
92
92
{
93
- string path = Path . Combine ( source , fileNameAttribute . Value )
94
- . Replace ( '\\ ' , Path . DirectorySeparatorChar )
95
- . Replace ( '/' , Path . DirectorySeparatorChar ) ;
93
+ string sourcePath = source . Replace ( ' \\ ' , Path . DirectorySeparatorChar ) . Replace ( '/' , Path . DirectorySeparatorChar ) ;
94
+ string fileName = fileNameAttribute . Value . Replace ( '\\ ' , Path . DirectorySeparatorChar ) . Replace ( '/' , Path . DirectorySeparatorChar ) ;
95
+ string path = Path . Combine ( sourcePath , fileName ) ;
96
96
97
97
if ( File . Exists ( path ) )
98
98
{
0 commit comments