mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-02-25 17:11:55 +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() {
|
function buildCacheKeys() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const keys = [];
|
const keys = [];
|
||||||
let userCacheKey = core.getInput(`cache-key`, { required: false }).trim();
|
const userCacheKey = core.getInput(`cache-key`, { required: false }).trim();
|
||||||
if (userCacheKey) {
|
if (userCacheKey) {
|
||||||
keys.push(userCacheKey);
|
keys.push(userCacheKey);
|
||||||
return keys;
|
return keys;
|
||||||
|
|
|
||||||
2
dist/run/index.js
vendored
2
dist/run/index.js
vendored
|
|
@ -50013,7 +50013,7 @@ const getIntervalKey = (invalidationIntervalDays) => {
|
||||||
function buildCacheKeys() {
|
function buildCacheKeys() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const keys = [];
|
const keys = [];
|
||||||
let userCacheKey = core.getInput(`cache-key`, { required: false }).trim();
|
const userCacheKey = core.getInput(`cache-key`, { required: false }).trim();
|
||||||
if (userCacheKey) {
|
if (userCacheKey) {
|
||||||
keys.push(userCacheKey);
|
keys.push(userCacheKey);
|
||||||
return keys;
|
return keys;
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ const getIntervalKey = (invalidationIntervalDays: number): string => {
|
||||||
|
|
||||||
async function buildCacheKeys(): Promise<string[]> {
|
async function buildCacheKeys(): Promise<string[]> {
|
||||||
const keys = []
|
const keys = []
|
||||||
let userCacheKey = core.getInput(`cache-key`, { required: false }).trim()
|
const userCacheKey = core.getInput(`cache-key`, { required: false }).trim()
|
||||||
if (userCacheKey) {
|
if (userCacheKey) {
|
||||||
keys.push(userCacheKey)
|
keys.push(userCacheKey)
|
||||||
return keys
|
return keys
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue