findDirectory = (dirname) => {
	return findFile(dirname, {
		test: (filename) =>
			fs
				.stat(filename)
				.then((stat) => stat.isDirectory())
				.catch(() => false)
	});
}
@param {string} dirname
@returns {Promise<string>}