File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -1039,11 +1039,6 @@ namespace ts {
1039
1039
lastDirectoryPartWithDirectorySeparator = fileOrDirectory . substr ( fileOrDirectory . lastIndexOf ( directorySeparator ) ) ;
1040
1040
lastDirectoryPart = lastDirectoryPartWithDirectorySeparator . slice ( directorySeparator . length ) ;
1041
1041
}
1042
- fileOrDirectory . substr ( fileOrDirectory . lastIndexOf ( directorySeparator ) ) :
1043
- undefined ;
1044
- const lastDirectoryPart = isLinuxOrMacOs ?
1045
- lastDirectoryPartWithDirectorySeparator ! . slice ( directorySeparator . length ) :
1046
- undefined ;
1047
1042
/** Watcher for the file system entry depending on whether it is missing or present */
1048
1043
let watcher = ! fileSystemEntryExists ( fileOrDirectory , entryKind ) ?
1049
1044
watchMissingFileSystemEntry ( ) :
You can’t perform that action at this time.
0 commit comments