src/transformers/relativeLinks.js
function updateUrl (cb, urlNode, options) {
  return cb(urlNode.url, options)
    .then((response) => {
      if (response) {
        Object.assign(urlNode, response)
      }
    })
    .catch(() => {
    })
}
function updateUrl (cb, urlNode, options) {
  return cb(urlNode.url, options)
    .then((response) => {
      if (response) {
        Object.assign(urlNode, response)
      }
    })
    .catch(() => {
    })
}
function updateUrl ( cb , urlNode , options ) { return cb ( urlNode . url , options ) . then ( ( response ) => { if ( response ) { Object . assign ( urlNode , response ) } } ) . catch ( ( ) => { } ) }
Updates the url of the image or link node by calling the
callback promise

@method updateUrl

@param  {Function} cb
@param  {Object}   urlNode
@param  {Object}   options

@return {Promise}
Updates the url of the image or link node by calling the callback promise