This commit is contained in:
syuilo 2018-04-26 14:44:23 +09:00
parent 5d51414eea
commit 0eb69e2a97
4 changed files with 2 additions and 3 deletions

View File

@ -95,7 +95,7 @@ export default (os: OS) => {
multiple: false, multiple: false,
title: '%fa:image%バナーにする画像を選択' title: '%fa:image%バナーにする画像を選択'
}); });
return selectedFile return selectedFile
.then(cropImage) .then(cropImage)
.then(setBanner) .then(setBanner)

View File

@ -38,4 +38,3 @@ export async function deleteSwSubscription(swSubscription: string | mongo.Object
_id: s._id _id: s._id
}); });
} }

View File

@ -15,7 +15,6 @@ process.on('unhandledRejection', console.dir);
const fs = require('fs'); const fs = require('fs');
const _chai = require('chai'); const _chai = require('chai');
const chaiHttp = require('chai-http'); const chaiHttp = require('chai-http');
const should = _chai.should();
_chai.use(chaiHttp); _chai.use(chaiHttp);

View File

@ -5,6 +5,7 @@
], ],
"jsRules": {}, "jsRules": {},
"rules": { "rules": {
"align": false,
"indent": ["tab"], "indent": ["tab"],
"quotemark": ["single"], "quotemark": ["single"],
"no-var-requires": false, "no-var-requires": false,