refactor: catch doesn't need to have a param (no-changelog) (#5614)
This commit is contained in:
committed by
GitHub
parent
9420b0fdf8
commit
4e244937c9
@@ -125,7 +125,7 @@ const isJsonRequest = (curlJson: CurlJson): boolean => {
|
||||
try {
|
||||
JSON.parse(bodyKey);
|
||||
return true;
|
||||
} catch (_) {
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user