Commit Graph

2 Commits (e5da2adba07fae449a596fcdd473de5212346a87)

Author SHA1 Message Date
Johannes Schindelin e5da2adba0 Ask ESLint to report floating Promises
This rule is quite helpful in avoiding hard-to-debug missing `await`s.

Note: there are two locations in `src/main.ts` that trigger warnings:
the `run()` and the `cleanup()` function are called without `await` and
without any `.catch()` clause.

In the initial version of https://github.com/actions/checkout/pull/379,
this was addressed by adding `.catch()` clauses. However, it was
determined that this is boilerplate code that will need to be fixed in a
broader way.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
5 years ago
eric sciple e347bba93b
Convert checkout to a regular action (#70) 5 years ago