change export syntax in app/plugins/install.js

This commit is contained in:
Labhansh Agrawal 2019-12-10 16:26:04 +05:30 committed by Benjamin Staneck
parent 0381f392de
commit acbf06e4ac

View file

@ -3,8 +3,7 @@ import queue from 'queue';
import ms from 'ms'; import ms from 'ms';
import {yarn, plugs} from '../config/paths'; import {yarn, plugs} from '../config/paths';
export default { export const install = fn => {
install: fn => {
const spawnQueue = queue({concurrency: 1}); const spawnQueue = queue({concurrency: 1});
function yarnFn(args, cb) { function yarnFn(args, cb) {
const env = { const env = {
@ -46,5 +45,4 @@ export default {
} }
fn(null); fn(null);
}); });
}
}; };