Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: ipns publish resolve option overwritten #1556

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

vasco-santos
Copy link
Member

yargs-promise adds resolve/reject properties to argv.

This way, resolve option was being overwritten to a function and, as it was not false, it was defined always as true for the publish operation.

Publish should use the r alias instead, as resolve will always be overwritten to a function.

@ghost ghost assigned vasco-santos Sep 11, 2018
@ghost ghost added the status/in-progress In progress label Sep 11, 2018
@vasco-santos vasco-santos force-pushed the fix/ipns-publish-resolve-option-overwritten branch from 5ec00d7 to 81c8247 Compare September 11, 2018 14:26
@vasco-santos vasco-santos force-pushed the fix/ipns-publish-resolve-option-overwritten branch from 81c8247 to c582314 Compare September 11, 2018 14:26
@alanshaw
Copy link
Member

Merging as errors are problems with jenkins and not related to this PR

@alanshaw alanshaw merged commit ef7d2c8 into master Sep 11, 2018
@alanshaw alanshaw deleted the fix/ipns-publish-resolve-option-overwritten branch September 11, 2018 15:17
@ghost ghost removed the status/in-progress In progress label Sep 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants