chore: generate
This commit is contained in:
parent
2c01d264ab
commit
66f63c74bb
3
dist/post_run/index.js
generated
vendored
3
dist/post_run/index.js
generated
vendored
@ -84932,7 +84932,8 @@ function checksumFile(hashName, path) {
|
||||
}
|
||||
const pathExists = async (path) => !!(await fs.promises.stat(path).catch(() => false));
|
||||
const getLintCacheDir = () => {
|
||||
return path_1.default.resolve(`${process.env.HOME}/.cache/golangci-lint`);
|
||||
const home = process.platform === "win32" ? process.env.USERPROFILE : process.env.HOME;
|
||||
return path_1.default.resolve(`${home}`, `.cache`, `golangci-lint`);
|
||||
};
|
||||
const getIntervalKey = (invalidationIntervalDays) => {
|
||||
const now = new Date();
|
||||
|
3
dist/run/index.js
generated
vendored
3
dist/run/index.js
generated
vendored
@ -84932,7 +84932,8 @@ function checksumFile(hashName, path) {
|
||||
}
|
||||
const pathExists = async (path) => !!(await fs.promises.stat(path).catch(() => false));
|
||||
const getLintCacheDir = () => {
|
||||
return path_1.default.resolve(`${process.env.HOME}/.cache/golangci-lint`);
|
||||
const home = process.platform === "win32" ? process.env.USERPROFILE : process.env.HOME;
|
||||
return path_1.default.resolve(`${home}`, `.cache`, `golangci-lint`);
|
||||
};
|
||||
const getIntervalKey = (invalidationIntervalDays) => {
|
||||
const now = new Date();
|
||||
|
Loading…
x
Reference in New Issue
Block a user