Fixed cmd.php xf-dev:import attempts to import .json.bak files

Xon

Well-known member
Affected version
XF2 DP10
My merge tool creates .bak files, and apparently if these are in the _output folder xf-dev:import will attempt to import them. Which obviously fails as they are a patch file with <<<<<<< HEAD and such.
 
Have now whitelisted valid extensions, so your .bak files shouldn't cause any further problems.
 
Back
Top Bottom