Skip to content

Commit

Permalink
Update nginx.js
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Sep 30, 2024
1 parent 57dcc2d commit 2fffbd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/internal/nginx.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ const internalNginx = {
const config_file = internalNginx.getConfigName(internalNginx.getFileFriendlyHostType(host_type), typeof host === 'undefined' ? 0 : host.id);

return new Promise((resolve /*, reject */) => {
fs.rm(config_file, { force: true }, err);
fs.rm(config_file, { force: true }, (err));

Check failure on line 271 in backend/internal/nginx.js

View workflow job for this annotation

GitHub Actions / update-and-lint

'err' is not defined
resolve();
});
},
Expand Down

0 comments on commit 2fffbd5

Please sign in to comment.