Remove trailing whitespace

This commit is contained in:
Daniel Hofstetter
2026-05-07 10:30:47 +02:00
parent 249a4f4a26
commit 7f00ab2f16
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -32,12 +32,12 @@ jobs:
var matchArtifact = artifacts.data.artifacts.filter((artifact) => {
return artifact.name == "comment"
})[0];
if (!matchArtifact) {
console.log('No comment artifact found');
return;
}
var download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
@@ -54,7 +54,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
var fs = require('fs');
// Check if files exist
if (!fs.existsSync('./NR')) {
console.log('No NR file found, skipping comment');
@@ -64,10 +64,10 @@ jobs:
console.log('No result.txt file found, skipping comment');
return;
}
var issue_number = Number(fs.readFileSync('./NR'));
var content = fs.readFileSync('./result.txt');
if (content.toString().trim().length > 7) { // 7 because we have backquote + \n
await github.rest.issues.createComment({
owner: context.repo.owner,
+1 -1
View File
@@ -261,7 +261,7 @@ jobs:
echo "ONLY_INTERMITTENT=true" >> $GITHUB_ENV
echo "::notice ::No new test failures detected"
fi
- name: Upload comparison log (for GnuComment workflow)
if: success() || failure()
uses: actions/upload-artifact@v7
+1 -1
View File
@@ -111,7 +111,7 @@ harness = false
lto = true
panic = "abort"
# should be dropped to 1 for binary size without performance drop
codegen-units = 7
codegen-units = 7
# A release-like profile that is as small as possible.
[profile.release-small]