Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN chmod +x /metrics/source/app/action/index.mjs \
&& apt-get install -y curl unzip \
&& curl -fsSL https://deno.land/x/install/install.sh | DENO_INSTALL=/usr/local sh \
# Install ruby to support github licensed gem
&& apt-get install -y ruby-full git g++ cmake pkg-config libssl-dev \
&& apt-get install -y ruby-full git g++ cmake pkg-config libssl-dev xz-utils libxml2-dev libxslt-dev \
&& gem install licensed \
# Install python for node-gyp
&& apt-get install -y python3 \
Expand Down
2 changes: 1 addition & 1 deletion source/plugins/habits/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default async function({login, data, rest, imports, q, account}, {enabled
...await Promise.allSettled(
commits
.flatMap(({payload}) => payload.commits)
.filter(({author}) => data.shared["commits.authoring"].filter(authoring => author?.login?.toLocaleLowerCase().includes(authoring) || author?.email?.toLocaleLowerCase().includes(authoring) || author?.name?.toLocaleLowerCase().includes(authoring)).length)
.filter(commit => commit?.author && data.shared["commits.authoring"].filter(authoring => commit.author?.login?.toLocaleLowerCase().includes(authoring) || commit.author?.email?.toLocaleLowerCase().includes(authoring) || commit.author?.name?.toLocaleLowerCase().includes(authoring)).length)
.map(async commit => (await rest.request(commit)).data.files),
),
]
Expand Down
Loading