Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maybe bug in write() #63

Closed
zh99998 opened this issue Jul 5, 2013 · 1 comment
Closed

maybe bug in write() #63

zh99998 opened this issue Jul 5, 2013 · 1 comment

Comments

@zh99998
Copy link

zh99998 commented Jul 5, 2013

i'm trying to upload file to my repo

github = new Github
  username: "zh99998",
  password: <hidden>,
  auth: "basic"

repo = github.getRepo('zh99998', 'test')

repo.write 'master', '/README.markdown', 'test1', 'test2', (err)->
  console.log err

then it logs out null, and see Network, all are 200 OK / 201 Created, seems all well, when i go to github and see that repo, the commit is successful, but there's nothing in this commit, and file is not modified.

like this:
zh99998/test@d292be1

@zh99998
Copy link
Author

zh99998 commented Jul 5, 2013

oh sorry, there‘s no "/"

@zh99998 zh99998 closed this as completed Jul 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant