mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 20:08:57 +08:00

FileUtils.move actually ends up raising an "unknown file type" error if the file doesn't exist instead of Errno::ENOENT. It's possible to rescue this, but in the end it's easier to just ask move not to throw an error, since we're going to throw it away anyway.