You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like if getContent path is not set, then it will pass :path to GitHub and you receive a 404 as a result. It might make sense to default to an empty.
Demo:
github.repos.getContent({user: 'bebraw',repo: 'ghw'//path: '' // default to this to avoid 404},function(err,res){if(err){returnconsole.error(err);}console.log(res);});
The text was updated successfully, but these errors were encountered:
Looks like if
getContent
path is not set, then it will pass:path
to GitHub and you receive a 404 as a result. It might make sense to default to an empty.Demo:
The text was updated successfully, but these errors were encountered: