mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
GNU comment: Need casting ...
This commit is contained in:
parent
d68dd23a56
commit
e127fb2eba
1 changed files with 3 additions and 3 deletions
6
.github/workflows/GnuComment.yml
vendored
6
.github/workflows/GnuComment.yml
vendored
|
@ -46,9 +46,9 @@ jobs:
|
|||
var issue_number = Number(fs.readFileSync('./NR'));
|
||||
var content = fs.readFileSync('./result.txt');
|
||||
console.log(content);
|
||||
console.log(content.trim());
|
||||
console.log(content.trim().length);
|
||||
if (content.trim().length > 7) { // 7 because we have backquote + \n
|
||||
console.log(content.toString().trim());
|
||||
console.log(content.toString().trim().length);
|
||||
if (content.toString().trim().length > 7) { // 7 because we have backquote + \n
|
||||
await github.issues.createComment({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue