Skip to content

Commit caaa892

Browse files
xomaczarXaserAcheron
authored andcommitted
fix(promise): ember-cli/lib/ext/promise has been deprecated
1 parent 67ec75c commit caaa892

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
'use strict';
33

44

5-
var Promise = require('ember-cli/lib/ext/promise');
5+
var Promise = require('rsvp').Promise;
66
var DeployPluginBase = require('ember-cli-deploy-plugin');
7-
var cpr = require('cpr');
8-
var SilentError = require('silent-error');
7+
var cpr = require('cpr');
8+
var SilentError = require('silent-error');
99

1010
module.exports = {
1111
name: 'ember-cli-deploy-cp',

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
"ember-cli-release": "0.2.3",
3232
"ember-cli-uglify": "^1.0.1",
3333
"ember-data": "1.13.5",
34+
"ember-disable-prototype-extensions": "^1.0.0",
3435
"ember-disable-proxy-controllers": "^1.0.0",
3536
"ember-export-application-global": "^1.0.2",
36-
"ember-disable-prototype-extensions": "^1.0.0",
3737
"ember-try": "0.0.6"
3838
},
3939
"keywords": [
@@ -44,9 +44,10 @@
4444
"cpr": "1.0.0",
4545
"ember-cli-babel": "^5.0.0",
4646
"ember-cli-deploy-plugin": "^0.2.0",
47+
"rsvp": "^3.5.0",
4748
"silent-error": "^1.0.0"
4849
},
4950
"ember-addon": {
5051
"configPath": "tests/dummy/config"
5152
}
52-
}
53+
}

0 commit comments

Comments
 (0)