style: autofix linting issue(s)

Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
This commit is contained in:
Vinayak Kulkarni 2022-11-08 17:40:29 +05:30
parent 9ecf8e59be
commit 4bf3e66f78
No known key found for this signature in database
GPG key ID: 0FE8ABF8260A1552

View file

@ -2,7 +2,7 @@ import * as http from 'http';
var options = {
timeout: 2000,
};
var url = "http://localhost:80/health";
var url = 'http://localhost:80/health';
var request = http.request(url, options, (res) => {
console.log(`STATUS: ${res.statusCode}`);
if (res.statusCode == 200) {
@ -11,8 +11,8 @@ var request = http.request(url, options, (res) => {
process.exit(1);
}
});
request.on("error", function (err) {
console.log("ERROR");
request.on('error', function (err) {
console.log('ERROR');
process.exit(1);
});
request.end();