Skip to content

Commit

Permalink
fix: rebuild dist
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickHeneise committed Apr 5, 2023
1 parent 8ac2ec7 commit 5e0ad59
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 41 deletions.
13 changes: 5 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,16 @@ labels: ''
assignees: ''
---

**Describe the bug**
A clear and concise description of what the bug is.
**Describe the bug** A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
**To Reproduce** Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.
**Expected behavior** A clear and concise description of what you expected to
happen.

**Additional context**
Add any other context about the problem here.
**Additional context** Add any other context about the problem here.
16 changes: 8 additions & 8 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ labels: ''
assignees: ''
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Is your feature request related to a problem? Please describe.** A clear and
concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe the solution you'd like** A clear and concise description of what you
want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Describe alternatives you've considered** A clear and concise description of
any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
**Additional context** Add any other context or screenshots about the feature
request here.
10 changes: 7 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# How to contribute

We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.
We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.

## Code reviews

All submissions require review. We use GitHub pull requests for this purpose. Consult [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more information on using pull requests.
All submissions require review. We use GitHub pull requests for this purpose.
Consult [GitHub Help](https://help.github.com/articles/about-pull-requests/) for
more information on using pull requests.

## Style Guide

This project provides a prettier configuration. All submitted PRs will be required to conform to this style guide before being merged.
This project provides a prettier configuration. All submitted PRs will be
required to conform to this style guide before being merged.
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ inputs:
description: GITHUB_TOKEN
required: true
default-timezone:
description: 'Default Timezone ID (https://datatracker.ietf.org/doc/html/rfc5545#section-3.2.19)'
description:
'Default Timezone ID
(https://datatracker.ietf.org/doc/html/rfc5545#section-3.2.19)'
default: 'Europe/Athens'
required: true
locations:
Expand Down
43 changes: 22 additions & 21 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74264,7 +74264,7 @@ var __webpack_exports__ = {}
'dd.MM.yyyy',
'dd.MM.yy'
],
s = ['HH:mm', 'HH.mm', 'hh:mm a', 'hh:mm A'],
s = ['HH:mm', 'HH.mm', 'hh:mm aaa', 'hh:mm a..aa', 'hh:mm aaaa'],
d = function n(t) {
return t.children
.map(function (e) {
Expand Down Expand Up @@ -74315,7 +74315,7 @@ var __webpack_exports__ = {}
}
var p = function (p) {
try {
var g, b, M, x, w, k, O, A, I, j, H, S, T
var g, b, M, x, w, k, O, I, j, A, H, S, T
return Promise.resolve(
unified().use(remark_parse).use(remarkGfm).parse(p)
).then(function (t) {
Expand Down Expand Up @@ -74380,8 +74380,8 @@ var __webpack_exports__ = {}
o = o.s
}
}
var u = new y(),
a = m.bind(null, u, 2)
var a = new y(),
u = m.bind(null, a, 2)
return (
(0 === r
? i.then(l)
Expand All @@ -74390,28 +74390,28 @@ var __webpack_exports__ = {}
: (void 0).then(function () {
;(i = n())
? i.then
? i.then(l).then(void 0, a)
? i.then(l).then(void 0, u)
: l(i)
: m(u, 1, o)
: m(a, 1, o)
})
).then(void 0, a),
u
).then(void 0, u),
a
)
function f(t) {
o = t
do {
if (!(i = n()) || (v(i) && !i.v)) return void m(u, 1, o)
if (i.then) return void i.then(l).then(void 0, a)
if (!(i = n()) || (v(i) && !i.v)) return void m(a, 1, o)
if (i.then) return void i.then(l).then(void 0, u)
v((o = e())) && (o = o.v)
} while (!o || !o.then)
o.then(f).then(void 0, a)
o.then(f).then(void 0, u)
}
function l(n) {
n
? (o = e()) && o.then
? o.then(f).then(void 0, a)
? o.then(f).then(void 0, u)
: f(o)
: m(u, 1, o)
: m(a, 1, o)
}
})(
function () {
Expand Down Expand Up @@ -74470,33 +74470,33 @@ var __webpack_exports__ = {}
}
return null
})(x)),
(A = (function (n) {
(I = (function (n) {
var t = !1,
e = { hours: 0, minutes: 0 },
r = new RegExp(/([0-9]+)h([0-9]+)m/),
i = new RegExp(/([0-9]+)h/)
if (n.match(r)) {
t = !0
var o = n.match(r),
u = o[2]
;(e.hours = parseInt(o[1])), (e.minutes = parseInt(u))
a = o[2]
;(e.hours = parseInt(o[1])), (e.minutes = parseInt(a))
} else if (n.match(i)) {
t = !0
var a = n.match(i)
;(e.hours = parseInt(a[1])), (e.minutes = 0)
var u = n.match(i)
;(e.hours = parseInt(u[1])), (e.minutes = 0)
}
return t ? e : null
})(x)),
k && (w.date = k),
O && (w.time = O),
A && (w.duration = A),
I && (w.duration = I),
w.content.push(x))
: 'list' === M.type
? (((I = U[C]).text = x), (I.list = d(M).flat()))
? (((j = U[C]).text = x), (j.list = d(M).flat()))
: 'html' === M.type
? U[C].content.push(M.html)
: 'code' === M.type
? (((j = U[C]).lang = M.lang), (j.text = x))
? (((A = U[C]).lang = M.lang), (A.text = x))
: process.env.DEBUG &&
(console.log('unhandled token type'), console.log(M))
})
Expand Down Expand Up @@ -74669,6 +74669,7 @@ var __webpack_exports__ = {}
})
}

// TODO: check if the event is in the future
if (zonedTimeToUtc(zonedDateTime) > new Date()) {
if (issue.state === 'CLOSED') {
event.status = 'CANCELLED'
Expand Down
1 change: 1 addition & 0 deletions src/fetch-issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export async function fetchIssues(
})
}

// TODO: check if the event is in the future
if (zonedTimeToUtc(zonedDateTime) > new Date()) {
if (issue.state === 'CLOSED') {
event.status = 'CANCELLED'
Expand Down

0 comments on commit 5e0ad59

Please sign in to comment.