mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-02-25 00:51:49 +00:00
fix linting
This commit is contained in:
parent
93eecea147
commit
47b2f47a45
3 changed files with 3 additions and 3 deletions
2
dist/post_run/index.js
vendored
2
dist/post_run/index.js
vendored
|
|
@ -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
2
dist/run/index.js
vendored
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue