File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -458,9 +458,14 @@ void checkNUnitConsolePath() {
458
458
*/
459
459
List<String > splitFilenameExtension (File fileObj ) {
460
460
String filename = fileObj. name
461
- int extensionIndex =
462
- (filename - project. ext. symbolDatabaseExtension -
463
- project. ext. unityMetadataExtension). lastIndexOf(" ." )
461
+ String trimmedFilename = filename
462
+ if (trimmedFilename. endsWith(project. ext. unityMetadataExtension)) {
463
+ trimmedFilename - = project. ext. unityMetadataExtension
464
+ }
465
+ if (trimmedFilename. endsWith(" .dll.mdb" )) {
466
+ trimmedFilename - = " .mdb"
467
+ }
468
+ int extensionIndex = trimmedFilename. lastIndexOf(" ." )
464
469
if (extensionIndex < 0 ) return [filename, " " ]
465
470
String basename = filename. substring(0 , extensionIndex)
466
471
String extension = filename. substring(extensionIndex)
You can’t perform that action at this time.
0 commit comments