diff --git a/src/index.js b/src/index.js index de69b92..51667bf 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.appendFileSync(`${ignoreFilePath}${errorDelimeter}`, result, 'utf-8'); + fs.appendFileSync(ignoreFilePath, `${result}${errorDelimeter}`, 'utf-8'); }; export {