brackets-compare icon indicating copy to clipboard operation
brackets-compare copied to clipboard

Compare not working with files without extension

Open janusz-chludzinski-zz opened this issue 4 years ago • 0 comments

When in split mode (either one) and trying to compare files, nothing is happening. When I looked into console:

Uncaught TypeError: Cannot read property '1' of nullgetExtension @ main.js:75(anonymous function) @ main.js:111dispatch @ thirdparty.min.js:20r.handle @ thirdparty.min.js:20

So the problem seems to be with regex not allowing files without extension and to be honest quite often tmp files wont have extension. Would be great to fix that, thanks!

janusz-chludzinski-zz avatar Jun 25 '20 18:06 janusz-chludzinski-zz