File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ public CoverageResult GetCoverageResult()
146
146
}
147
147
}
148
148
149
- modules . Add ( result . ModulePath , documents ) ;
149
+ modules . Add ( Path . GetFileName ( result . ModulePath ) , documents ) ;
150
150
InstrumentationHelper . RestoreOriginalModule ( result . ModulePath , _identifier ) ;
151
151
}
152
152
Original file line number Diff line number Diff line change
1
+ using System ;
1
2
using System . Collections . Generic ;
2
3
using System . IO ;
3
4
using System . Linq ;
@@ -44,7 +45,7 @@ internal void Merge(Modules modules)
44
45
{
45
46
foreach ( var module in modules )
46
47
{
47
- if ( ! this . Modules . Keys . Select ( Path . GetFileName ) . Contains ( Path . GetFileName ( module . Key ) ) )
48
+ if ( ! this . Modules . Keys . Contains ( module . Key ) )
48
49
{
49
50
this . Modules . Add ( module . Key , module . Value ) ;
50
51
}
You can’t perform that action at this time.
0 commit comments