export function parseNwo ( nwo ) { const [ owner , name ] = nwo . split ( '/' ) ; if ( ! owner || ! name ) { throw new Error ( `'${ nwo }' does not appear to be a valid repository NWO` ) ; } return { owner : owner , repo : name } ; }