1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2026-01-03 23:22:30 +03:00

replace imports of q with bluebird

```
find src spec -name '*.js' |
   xargs perl -i -pe 'if (/require\(.q.\)/) { $_ = "import Promise from '\''bluebird'\'';\n"; }'

find src spec -name '*.js' |
   xargs perl -i -pe 'if (/import q/) { $_ = "import Promise from '\''bluebird'\'';\n"; }'
```
This commit is contained in:
Richard van der Hoff
2017-07-10 15:56:31 +01:00
parent 04b71c11e1
commit b96062b6de
36 changed files with 36 additions and 36 deletions

View File

@@ -17,7 +17,7 @@ limitations under the License.
"use strict";
const anotherjson = require('another-json');
const q = require('q');
import Promise from 'bluebird';
import expect from 'expect';
const utils = require('../../lib/utils');