Drop Q, use native promises :tada: (#33)
authorRaphael von der Grün <raphinesse@gmail.com>
Sun, 30 Sep 2018 00:28:42 +0000 (02:28 +0200)
committerGitHub <noreply@github.com>
Sun, 30 Sep 2018 00:28:42 +0000 (02:28 +0200)
index.js
package.json

index 0e3b565..2ddec33 100644 (file)
--- a/index.js
+++ b/index.js
@@ -21,7 +21,6 @@ const fs = require('fs-extra');
 
 var path = require('path');
 
-var Q = require('q');
 var tmp = require('tmp');
 var isUrl = require('is-url');
 var isObject = require('isobject');
@@ -69,7 +68,7 @@ function cordovaCreateLegacyAdapter (dir, id, name, cfg, extEvents) {
     if (name) opts.name = name;
     if (extEvents) opts.extEvents = extEvents;
 
-    return Q(cordovaCreate(dir, opts));
+    return cordovaCreate(dir, opts);
 }
 
 /**
index 70ea420..af7972c 100644 (file)
@@ -33,7 +33,6 @@
     "is-url": "^1.2.4",
     "isobject": "^3.0.1",
     "path-is-inside": "^1.0.2",
-    "q": "^1.5.1",
     "tmp": "0.0.33",
     "valid-identifier": "0.0.1"
   },