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

Affected version
XF2 DP10

Xon

Well-known member
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.
 

Kier

XenForo developer
Staff member
Have now whitelisted valid extensions, so your .bak files shouldn't cause any further problems.
 
Top