File tree 2 files changed +0
-6
lines changed 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -67350,9 +67350,6 @@ function buildCacheKeys() {
67350
67350
keys.push(cacheKey);
67351
67351
// Get working directory from input
67352
67352
const workingDirectory = core.getInput(`working-directory`);
67353
- if (!fs.existsSync(workingDirectory) || !fs.lstatSync(workingDirectory).isDirectory()) {
67354
- throw new Error(`working-directory (${workingDirectory}) was not a path`);
67355
- }
67356
67353
// create path to go.mod prepending the workingDirectory if it exists
67357
67354
const goModPath = path_1.default.join(workingDirectory, `go.mod`);
67358
67355
core.info(`Checking for go.mod: ${goModPath}`);
Original file line number Diff line number Diff line change @@ -67350,9 +67350,6 @@ function buildCacheKeys() {
67350
67350
keys.push(cacheKey);
67351
67351
// Get working directory from input
67352
67352
const workingDirectory = core.getInput(`working-directory`);
67353
- if (!fs.existsSync(workingDirectory) || !fs.lstatSync(workingDirectory).isDirectory()) {
67354
- throw new Error(`working-directory (${workingDirectory}) was not a path`);
67355
- }
67356
67353
// create path to go.mod prepending the workingDirectory if it exists
67357
67354
const goModPath = path_1.default.join(workingDirectory, `go.mod`);
67358
67355
core.info(`Checking for go.mod: ${goModPath}`);
You can’t perform that action at this time.
0 commit comments