Skip to content

Commit c4d337c

Browse files
committed
removed redundant message; incremented version
1 parent 4952c34 commit c4d337c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ runs:
115115
116116
// Validate that the returned body is a string
117117
if (typeof body !== 'string') {
118-
throw new TypeError(`Returned value from user script must be a string. Received type '${typeof body}'. `
119-
+ `Please return a string, or serialize your result using JSON.stringify.`);
118+
throw new TypeError(`Returned value from user script must be a string. Received type '${typeof body}'. `);
120119
}
121120
122121
// Output to GITHUB_STEP_SUMMARY

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aguilita1/github-script-post-comment",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "GitHub Action to run custom JavaScript and post results to GitHub summary and Pull Request",
55
"author": "Daniel I. Kelley",
66
"license": "MIT",

0 commit comments

Comments
 (0)