github: Repo::default_branch can actually be null...
authorAlexandre Terrasa <alexandre@moz-code.org>
Thu, 11 Jul 2019 01:08:55 +0000 (21:08 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Thu, 11 Jul 2019 02:07:01 +0000 (22:07 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

lib/github/api.nit

index 8684c29..0323fbe 100644 (file)
@@ -555,7 +555,7 @@ class Repo
        var owner: User is writable
 
        # Repo default branch name.
-       var default_branch: String is writable
+       var default_branch: nullable String = null is optional, writable
 end
 
 # A Github branch.