Skip to content

Commit

Permalink
fix: fix deployed files
Browse files Browse the repository at this point in the history
  • Loading branch information
galenwarren committed Aug 19, 2018
1 parent 7a96e1c commit e6ac67b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
- run:
name: Publish
command: |
npm run build
if [ "$CIRCLE_BRANCH" == "master" ]; then
npm run publish
fi
6 changes: 1 addition & 5 deletions src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ export const resolve = (value$, getKeys, getObservable, keyName = 'id') => {
return combineLatest(
keys.map(key =>
getObservable(key).pipe(
map(value => {
const valueWithKey = { ...value };
valueWithKey[keyName] = key;
return valueWithKey;
})
map(value => Object.assign({ [keyName]: key }, value))
)
)
);
Expand Down

0 comments on commit e6ac67b

Please sign in to comment.