diff --git a/src/index.js b/src/index.js index 3363f04..de69b92 100644 --- a/src/index.js +++ b/src/index.js @@ -249,7 +249,7 @@ const writeIgnoreErrorsFile = (errors, ignoreFilePath) => { const formatedErrors = formatErrors(errors); const result = formatedErrors.join(errorDelimeter); - fs.appendFile(`${ignoreFilePath}${errorDelimeter}`, result, 'utf-8'); + fs.appendFileSync(`${ignoreFilePath}${errorDelimeter}`, result, 'utf-8'); }; export {