fix linting

This commit is contained in:
Thomas Bonfort 2021-01-05 15:55:55 +01:00
parent 93eecea147
commit 47b2f47a45
3 changed files with 3 additions and 3 deletions

View file

@ -50003,7 +50003,7 @@ const getIntervalKey = (invalidationIntervalDays) => {
function buildCacheKeys() {
return __awaiter(this, void 0, void 0, function* () {
const keys = [];
let userCacheKey = core.getInput(`cache-key`, { required: false }).trim();
const userCacheKey = core.getInput(`cache-key`, { required: false }).trim();
if (userCacheKey) {
keys.push(userCacheKey);
return keys;

2
dist/run/index.js vendored
View file

@ -50013,7 +50013,7 @@ const getIntervalKey = (invalidationIntervalDays) => {
function buildCacheKeys() {
return __awaiter(this, void 0, void 0, function* () {
const keys = [];
let userCacheKey = core.getInput(`cache-key`, { required: false }).trim();
const userCacheKey = core.getInput(`cache-key`, { required: false }).trim();
if (userCacheKey) {
keys.push(userCacheKey);
return keys;

View file

@ -37,7 +37,7 @@ const getIntervalKey = (invalidationIntervalDays: number): string => {
async function buildCacheKeys(): Promise<string[]> {
const keys = []
let userCacheKey = core.getInput(`cache-key`, { required: false }).trim()
const userCacheKey = core.getInput(`cache-key`, { required: false }).trim()
if (userCacheKey) {
keys.push(userCacheKey)
return keys