Skip to content

Commit 8f0a59f

Browse files
committed
Fix interpolation issue in README.md
1 parent 26a372c commit 8f0a59f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
result-encoding: string
3535
script: |
36-
const tasks = JSON.parse(`${{ steps.todos.outputs.tasks }}`);
36+
const tasks = JSON.parse(String.raw`${{ steps.todos.outputs.tasks }}`);
3737
let body = tasks.map(task => `https://github.com/${{ github.repository }}/blob/${{ github.sha }}/${item.fileName}#L${item.startLine}-L${item.endLine}`).join('\n');
3838
3939
if (tasks.length > 0) {

0 commit comments

Comments
 (0)