File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 fi
6565
6666 MISSING_LINK=""
67- LEADING_SPACE =""
67+ BAD_INDENT_FILES =""
6868 while IFS= read -r f; do
6969 [ -z "$f" ] && continue
7070 content=$(gh api -H 'Accept: application/vnd.github.raw' "/repos/$REPO/contents/$f?ref=$HEAD_SHA")
@@ -73,13 +73,13 @@ jobs:
7373 fi
7474 # The first line is the top-level entry. Later lines can need indentation.
7575 if echo "$content" | head -n 1 | grep -qE '^[[:space:]]'; then
76- LEADING_SPACE ="$LEADING_SPACE $f"$'\n'
76+ BAD_INDENT_FILES ="$BAD_INDENT_FILES $f"$'\n'
7777 fi
7878 done <<< "$ADDED"
7979
80- if [ -n "$LEADING_SPACE " ]; then
80+ if [ -n "$BAD_INDENT_FILES " ]; then
8181 echo "::error::Draftlog entry(ies) with leading whitespace on the first line:"
82- printf '%s' "$LEADING_SPACE " | sed 's/^/ - /'
82+ printf '%s' "$BAD_INDENT_FILES " | sed 's/^/ - /'
8383 echo ""
8484 echo "Start the first line with '- ' and no leading whitespace."
8585 echo "See draftlogs/README.md for an example."
Original file line number Diff line number Diff line change 11{
22 "name" : " plotly.js" ,
3- "description" : " The open source JavaScript graphing library that powers plotly.py and Plotly Dash" ,
3+ "description" : " The open source JavaScript graphing library that also powers plotly.py and Plotly Dash" ,
44 "main" : " ./dist/plotly.js" ,
55 "authors" : [
66 " Plotly, Inc."
Original file line number Diff line number Diff line change 11{
22 "name" : " plotly/plotly.js" ,
3- "description" : " The open source JavaScript graphing library that powers plotly.py and Plotly Dash" ,
3+ "description" : " The open source JavaScript graphing library that also powers plotly.py and Plotly Dash" ,
44 "keywords" : [
55 " graphing" ,
66 " plotting" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " plotly.js" ,
33 "version" : " 4.3.0" ,
4- "description" : " The open source JavaScript graphing library that powers plotly.py and Plotly Dash" ,
4+ "description" : " The open source JavaScript graphing library that also powers plotly.py and Plotly Dash" ,
55 "license" : " MIT" ,
66 "main" : " ./lib/index.js" ,
77 "types" : " ./lib/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments