Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
btrn11 committed Jan 29, 2025
1 parent 39f7004 commit 3051f05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/package/packagePushUpgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ export class PackagePushUpgrade {
const errorContent = jobErrors
.map((job, index) => `Job ${index + 1} Error:${JSON.stringify(job?.sf__Error, null, 2)}`)
.join('');

await fs.writeFile(outputFile, errorContent, 'utf-8');

return outputFile;
} catch (error) {
throw new SfError('Error when saving job errors to file. ' + (error as Error).message);
Expand Down

0 comments on commit 3051f05

Please sign in to comment.