mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-11-30 11:44:23 +01:00
chore: collapse error construction to satisfy biome formatter
This commit is contained in:
2 files changed
+2
-10
No files matched your search
+1
-5
@@ -75468,11 +75468,7 @@ function verifyProxyConnect(req) {
|
||||
req.once("proxyConnect", (response) => {
|
||||
if (response.statusCode !== 200) {
|
||||
const statusText = response.statusText ? ` ${response.statusText}` : "";
|
||||
req.destroy(
|
||||
new Error(
|
||||
`Proxy CONNECT returned HTTP ${response.statusCode}${statusText}; aborting`
|
||||
)
|
||||
);
|
||||
req.destroy(new Error(`Proxy CONNECT returned HTTP ${response.statusCode}${statusText}; aborting`));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user