From 470c882a51e412fabda07b116dda2e318ec98ce7 Mon Sep 17 00:00:00 2001 From: Alexander Russkiy Date: Tue, 31 Dec 2019 21:25:14 +0200 Subject: [PATCH] Update index.coffee --- index.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.coffee b/index.coffee index 41450d1..ad569b7 100644 --- a/index.coffee +++ b/index.coffee @@ -78,7 +78,10 @@ util = require 'util' server: match[3] @lookup addr, options, (err, parts) => if err? - return done err + if data == '' + return done err + else + parts = data if options.verbose done null, [