Skip to content

Commit 15fd403

Browse files
author
Vincent Potucek
committed
[rewrite] apply ECMAScript6BestPractices
Signed-off-by: Vincent Potucek <[email protected]>
1 parent eb97996 commit 15fd403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/main/resources/com/diffplug/spotless/npm/common-serve.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ app.post("/shutdown", (req, res) => {
4141
console.error("Error during shutdown:", err);
4242
}
4343
}, 200);
44-
res.status(200).send("Graceful shutdown.");
44+
res.ok().send("Graceful shutdown.");
4545
});

0 commit comments

Comments
 (0)