Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Destructuring rebuild options
Browse files Browse the repository at this point in the history
 🐿 v2.11.0
  • Loading branch information
kitkat119 committed Dec 5, 2018
1 parent 95ee7be commit 27d34d6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build/app/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ const getRepoName = ({ repository }) => {
const serves = type => app => type ? app.types && app.types.includes(type) : true;

async function rebuild (options) {
const apps = options.apps;
const allApps = options.all;
const registry = options.registry || DEFAULT_REGISTRY_URI;
const { apps, allApps, registry = DEFAULT_REGISTRY_URI } = options;
let appsToRebuild = [];

const areAppsToRebuild = (apps.length) || allApps;
Expand Down

0 comments on commit 27d34d6

Please sign in to comment.