mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-18 14:38:40 -09:00
change export syntax in app/plugins/install.js
This commit is contained in:
parent
0381f392de
commit
acbf06e4ac
1 changed files with 38 additions and 40 deletions
|
|
@ -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);
|
||||||
});
|
});
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue