summaryrefslogtreecommitdiffstats
path: root/vendor/gopkg.in/yaml.v2
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2020-06-17 15:07:58 -0400
committerGitHub <noreply@github.com>2020-06-17 22:07:58 +0300
commit9e6a79bea9d7911c81b86a6d3715d340fc19032a (patch)
tree3c5982227a3ed7481786185f5fdf5a8c1107f279 /vendor/gopkg.in/yaml.v2
parent1645d4a5d8def3cc5451e068aa0a321e028a889b (diff)
downloadgitea-9e6a79bea9d7911c81b86a6d3715d340fc19032a.tar.gz
gitea-9e6a79bea9d7911c81b86a6d3715d340fc19032a.zip
upgrade to use testfixtures v3 (#11904)
* upgrade to use testfixtures v3 * simplify logic * make vendor * update per @lunny * Update templates/repo/empty.tmpl * Update templates/repo/empty.tmpl Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'vendor/gopkg.in/yaml.v2')
-rw-r--r--vendor/gopkg.in/yaml.v2/apic.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/gopkg.in/yaml.v2/apic.go b/vendor/gopkg.in/yaml.v2/apic.go
index 1f7e87e672..d2c2308f1f 100644
--- a/vendor/gopkg.in/yaml.v2/apic.go
+++ b/vendor/gopkg.in/yaml.v2/apic.go
@@ -86,6 +86,7 @@ func yaml_emitter_initialize(emitter *yaml_emitter_t) {
raw_buffer: make([]byte, 0, output_raw_buffer_size),
states: make([]yaml_emitter_state_t, 0, initial_stack_size),
events: make([]yaml_event_t, 0, initial_queue_size),
+ best_width: -1,
}
}