diff --git a/src/config.ts b/src/config.ts
index 040bddf822..c33c646bb4 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -4,7 +4,7 @@
 
 import * as fs from 'fs';
 import * as yaml from 'js-yaml';
-import * as isUrl from 'is-url';
+import isUrl = require('is-url');
 
 /**
  * Path of configuration directory