Skip to content

Commit

Permalink
chore: fix code style and remove unneeded definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Jul 29, 2024
1 parent 8b4f45f commit b308eb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/scripts/add_trailing_newlines
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@
# Ensure that the exit status of pipelines is non-zero in the event that at least one of the commands in a pipeline fails:
set -o pipefail


# VARIABLES #

# List of file extensions to process:
extensions=("js" "mjs" "cjs" "json" "ts" "py" "jl" "R" "c" "h" "cpp" "hpp" "f" "sh" "awk" "html" "xml" "css" "md" "yml" "gypi" "bib" "tex")


# FUNCTIONS #

# Convert Windows CRLF to Unix LF line endings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
# Ensure that the exit status of pipelines is non-zero in the event that at least one of the commands in a pipeline fails:
set -o pipefail


# VARIABLES #

# Get the pull request number:
Expand All @@ -39,8 +40,6 @@ pr_number="$1"
# Set the repository name:
GITHUB_REPOSITORY="stdlib-js/stdlib"

# Set the contributing guidelines link:
CONTRIBUTING_LINK="https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md"

# FUNCTIONS #

Expand Down Expand Up @@ -94,9 +93,7 @@ This acknowledgment confirms that you've read the guidelines, which include:
We can't review or accept contributions without this acknowledgment.
Thank you for your understanding and cooperation. We look forward to reviewing your contribution!
[contributing]: ${CONTRIBUTING_LINK}"
Thank you for your understanding and cooperation. We look forward to reviewing your contribution!"

if ! curl -s -X POST \
-H "Authorization: token ${GITHUB_TOKEN}" \
Expand Down

0 comments on commit b308eb8

Please sign in to comment.