function isolateBadAutofixPass(originalText, config) {
		let previousText = originalText;
		let currentText = originalText;

		do {
			let messages;

			try {
				messages = linter.verify(currentText, config);
			} catch {
				return currentText;
			}

			if (messages.length === 1 && messages[0].fatal) {
				return previousText;
			}

			previousText = currentText;
			currentText = SourceCodeFixer.applyFixes(
				currentText,
				messages,
			).output;
		} while (previousText !== currentText);

		return currentText;
	}
Runs multipass autofix one pass at a time to find the last good source text before a fatal error occurs
@param {string} originalText Syntactically valid source code that results in a syntax error or crash when autofixing with `config`
@param {Object} config The config to lint with
@returns {string} A possibly-modified version of originalText that results in the same syntax error or crash after only one pass