You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2018/09/30 00:28:45 UTC
[cordova-create] branch master updated: Drop Q,
use native promises :tada: (#33)
This is an automated email from the ASF dual-hosted git repository.
raphinesse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-create.git
The following commit(s) were added to refs/heads/master by this push:
new 5e3aab6 Drop Q, use native promises :tada: (#33)
5e3aab6 is described below
commit 5e3aab6369c195512ca31a6134b96446452c5c5a
Author: Raphael von der GrĂ¼n <ra...@gmail.com>
AuthorDate: Sun Sep 30 02:28:42 2018 +0200
Drop Q, use native promises :tada: (#33)
---
index.js | 3 +--
package.json | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/index.js b/index.js
index 0e3b565..2ddec33 100644
--- 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);
}
/**
diff --git a/package.json b/package.json
index 70ea420..af7972c 100644
--- a/package.json
+++ b/package.json
@@ -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"
},
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org