Skip to content

Commit

Permalink
echo line before assigning it
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxOhn committed Jul 12, 2024
1 parent e47ad58 commit ad36848
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
echo ".d.ts file is not up to date"
cmp_out=`cmp --print-bytes pkg/rosu_pp_js.d.ts rosu_pp_js.d.ts`
echo $cmp_out
echo $cmp_out | sed -r 's/.*line ([0-9]+) .*/\1/'
line=`echo $cmp_out | sed -r 's/.*line ([0-9]+) .*/\1/'`
echo pkg/rosu_pp_js.d.ts:
sed -n ${line},$((line+1))p pkg/rosu_pp_js.d.ts
Expand Down

0 comments on commit ad36848

Please sign in to comment.