Skip to content

Repository not deleted when using delete! #46

@kristianmandrup

Description

@kristianmandrup
    desc "delete NAME", "delete public repository NAME from your github account"    
    def delete(name)        
      authenticated do                 
        user = Api.api.user
        repository = user.repositories.find(name)
        say "Repository #{name} was deleted successfully" if repository.delete!
      end
    end
kristian-mandrups-macbook-pro:lib kristianconsult$ thor github:repo:delete cool_stuff
W, [2010-04-05T15:47:58.330303 #22724]  WARN -- : Using in memory store
Repository cool_stuff was deleted successfully

But looking at my github account, the repo was not deleted.
Is there a better way I can determine if the repository was deleted? What does the warning mean?
It creates a repository ok with this warning. How do I disable the in memory store?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions