summaryrefslogtreecommitdiff
path: root/github-contributions-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2021-04-11 20:36:24 -0400
committerGitHub <noreply@github.com>2021-04-11 20:36:24 -0400
commitddff9577fc0b204d7beb65eac523723a18c33623 (patch)
treed5fee445efff694095b4bb0f5553386c6b97dbab /github-contributions-widget
parent83856a188b43b0ef908c360310c069d27864c134 (diff)
parenta47ccb782f3e09c1d19536ed298eadae3bfa5219 (diff)
Merge pull request #250 from nuno-silva/ci-warns
fix CI warnings
Diffstat (limited to 'github-contributions-widget')
-rw-r--r--github-contributions-widget/github-contributions-widget.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/github-contributions-widget/github-contributions-widget.lua b/github-contributions-widget/github-contributions-widget.lua
index cae8ed6..aecc966 100644
--- a/github-contributions-widget/github-contributions-widget.lua
+++ b/github-contributions-widget/github-contributions-widget.lua
@@ -14,7 +14,8 @@ local wibox = require("wibox")
local widget_themes = require("awesome-wm-widgets.github-contributions-widget.themes")
local GET_CONTRIBUTIONS_CMD = [[bash -c "curl -s https://github-contributions.now.sh/api/v1/%s]]
- .. [[ | jq -r '[.contributions[] | select ( .date | strptime(\"%%Y-%%m-%%d\") | mktime < now)][:%s]| .[].intensity'"]]
+ .. [[ | jq -r '[.contributions[] ]]
+ .. [[ | select ( .date | strptime(\"%%Y-%%m-%%d\") | mktime < now)][:%s]| .[].intensity'"]]
local github_contributions_widget = wibox.widget{
reflection = {