Skip to content

SyntaxError: Invalid or unexpected token #409

Closed Answered by clauBv23
clauBv23 asked this question in Q&A
Discussion options

You must be logged in to vote

Solved it changing

return script(
              ${{ steps.diff.outputs.added_files }},
              ${{ steps.diff.outputs.modified_files }},
              ${{ steps.diff.outputs.renamed_files }},
            );

by

return script(
             ${{ toJSON(steps.diff.outputs.added_files) }},
             ${{ toJSON(steps.diff.outputs.modified_files) }},
             ${{ toJSON(steps.diff.outputs.renamed_files) }},
            );

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by clauBv23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant