Skip to content

Commit

Permalink
chore: add \n to matrix generation (#6041)
Browse files Browse the repository at this point in the history
preventing those "empty" PRs: 
#6039

## Checklist

- [ ] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted)
- [ ] Description explains motivation and solution
- [ ] Tests added (always)
- [ ] Docs updated (only required for features)
- [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
tsuf239 authored Mar 24, 2024
1 parent f113593 commit 4ae289b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function updateMatrix(outFolderPath: string, matrixPath = MATRIX_PATH) {
}
}

writeFileSync(MATRIX_PATH, JSON.stringify(matrix, null, 2));
writeFileSync(MATRIX_PATH, `${JSON.stringify(matrix, null, 2)}\n`);
}

export function updateMatrixFromFile(
Expand Down

0 comments on commit 4ae289b

Please sign in to comment.