From b6900b937b4247d245912f97fb28ac501eb32e16 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 4 Jun 2019 04:20:29 +0000 Subject: [PATCH] remove extraneous variable --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9dbeac4..6d71f24 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ var request = require('@root/request'); request = promisify(request); request('http://www.google.com').then(function (response) { - console.log('statusCode:', response && response.statusCode); // Print the response status code if a response was received + console.log('statusCode:', response.statusCode); // Print the response status code if a response was received console.log('body:', response.body); // Print the HTML for the Google homepage. }).catch(function (error) { console.log('error:', error); // Print the error if one occurred