style: autofix linting issue(s)
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
This commit is contained in:
parent
9ecf8e59be
commit
4bf3e66f78
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue