returnTPromise.wrapError<void>(nls.localize('cannotDiffBinary',"At least one of the resources to compare seems to be binary and this is currently not supported"));
// Assert that the current input is still the one we expect. This prevents a race condition when loading a diff takes long and another input was set meanwhile
...
...
@@ -174,9 +175,9 @@ export class TextDiffEditor extends BaseTextEditor {
// In case we tried to open a file and the response indicates that this is not a text file, bail out to the user.
if(this.isFileBinaryError(error)){
returnPromise.wrapError(nls.localize('cannotDiffBinary',"At least one of the resources to compare seems to be binary and this is currently not supported"));
// In case we tried to open a file and the response indicates that this is not a text file, fallback to binary diff.