Skip to content

Commit

Permalink
refactor: Fix misc
Browse files Browse the repository at this point in the history
  • Loading branch information
ginokent committed Jan 8, 2025
1 parent 09bd5fa commit 30dda70
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .bin/direnv
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ExecProgram() {
exec "${prog_version_exe:?}" "$@" <&0
}

# LICENSE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# LICENSE: https://github.com/hakadoriya/log.sh/blob/HEAD/LICENSE
# Common
if [ "${LOGSH_COLOR:-}" ] || [ -t 2 ] ; then LOGSH_COLOR=true; else LOGSH_COLOR=''; fi
_logshRFC3339() { date "+%Y-%m-%dT%H:%M:%S%z" | sed "s/\(..\)$/:\1/"; }
Expand Down
2 changes: 1 addition & 1 deletion .bin/gitleaks
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ExecProgram() {
exec "${prog_version_exe:?}" "$@" <&0
}

# LICENSE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# LICENSE: https://github.com/hakadoriya/log.sh/blob/HEAD/LICENSE
# Common
if [ "${LOGSH_COLOR:-}" ] || [ -t 2 ] ; then LOGSH_COLOR=true; else LOGSH_COLOR=''; fi
_logshRFC3339() { date "+%Y-%m-%dT%H:%M:%S%z" | sed "s/\(..\)$/:\1/"; }
Expand Down
4 changes: 2 additions & 2 deletions .bin/go-mod-all
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ set -Eeu -o pipefail

REPO_ROOT=$(git rev-parse --show-toplevel)

# LICENSE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# LICENSE: https://github.com/hakadoriya/log.sh/blob/HEAD/LICENSE
# Common
if [ "${LOGSH_COLOR:-}" ] || [ -t 2 ]; then LOGSH_COLOR=true; else LOGSH_COLOR=''; fi
if [ "${LOGSH_COLOR:-}" ] || [ -t 2 ] ; then LOGSH_COLOR=true; else LOGSH_COLOR=''; fi
_logshRFC3339() { date "+%Y-%m-%dT%H:%M:%S%z" | sed "s/\(..\)$/:\1/"; }
_logshCmd() { for a in "$@"; do if echo "${a:-}" | grep -Eq "[[:blank:]]"; then printf "'%s' " "${a:-}"; else printf "%s " "${a:-}"; fi; done | sed "s/ $//"; }
# Color
Expand Down
2 changes: 1 addition & 1 deletion .bin/golangci-lint
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ExecProgram() {
exec "${prog_version_exe:?}" "$@" <&0
}

# LICENSE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# LICENSE: https://github.com/hakadoriya/log.sh/blob/HEAD/LICENSE
# Common
if [ "${LOGSH_COLOR:-}" ] || [ -t 2 ] ; then LOGSH_COLOR=true; else LOGSH_COLOR=''; fi
_logshRFC3339() { date "+%Y-%m-%dT%H:%M:%S%z" | sed "s/\(..\)$/:\1/"; }
Expand Down
2 changes: 1 addition & 1 deletion .bin/typos
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ExecProgram() {
exec "${prog_version_exe:?}" "$@" <&0
}

# LICENSE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# LICENSE: https://github.com/hakadoriya/log.sh/blob/HEAD/LICENSE
# Common
if [ "${LOGSH_COLOR:-}" ] || [ -t 2 ] ; then LOGSH_COLOR=true; else LOGSH_COLOR=''; fi
_logshRFC3339() { date "+%Y-%m-%dT%H:%M:%S%z" | sed "s/\(..\)$/:\1/"; }
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/task-list-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
contents: read
pull-requests: read
steps:
- uses: hakadoriya/github-actions-[email protected]
- uses: hakadoriya-actions/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2022 kunitsucom
Copyright 2022 hakadoriya

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 30dda70

Please sign in to comment.