Fix syntax error
This commit is contained in:
@@ -93,6 +93,7 @@ const getSecretFromConnectItem = async (
|
||||
}
|
||||
|
||||
// If a file was found, get the content of the file
|
||||
// If a file was found, get the content of the file (with retry on 503)
|
||||
if (fileId) {
|
||||
const maxAttempts = 3;
|
||||
const retryDelayMs = 2000;
|
||||
@@ -121,10 +122,6 @@ const getSecretFromConnectItem = async (
|
||||
}
|
||||
}
|
||||
}
|
||||
core.error(`getFileContent failed: ${getErrorMessage(err)}`);
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
|
||||
if (parsed.section) {
|
||||
throw new Error(
|
||||
|
||||
Reference in New Issue
Block a user