Skip to content

Commit

Permalink
prefer url (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonwinton authored Mar 7, 2019
1 parent c0a2bcc commit 491cd57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function _checkForUrlProperty(uri, { url, customUrl }) {
return bluebird.reject(new Error('Page does not have a `url` or `customUrl` property set'));
}

return bluebird.resolve(customUrl || url);
return bluebird.resolve(url || customUrl);
}

/**
Expand Down

0 comments on commit 491cd57

Please sign in to comment.