chore: Enable eslint to enforce curly (#3060)
This commit is contained in:
@@ -71,7 +71,9 @@ async function archiveToPath(zip: JSZip) {
|
||||
postfix: ".zip",
|
||||
},
|
||||
(err, path) => {
|
||||
if (err) return reject(err);
|
||||
if (err) {
|
||||
return reject(err);
|
||||
}
|
||||
zip
|
||||
.generateNodeStream({
|
||||
type: "nodebuffer",
|
||||
|
||||
Reference in New Issue
Block a user