Skip to content

Commit 37edbb9

Browse files
committed
Address minor PR feedback
1 parent f3e877f commit 37edbb9

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎.github/workflows/check-draftlog.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
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."

‎bower.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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."

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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",

0 commit comments

Comments
 (0)