From 62823dcf013d9a7550fa806200aceb3a123aab94 Mon Sep 17 00:00:00 2001 From: Usta Shrestha Date: Tue, 11 Jan 2022 02:40:54 -0500 Subject: [PATCH] use iota for "enum" Test: m nothing Bug: N/A Change-Id: I9d59796cbf1dc3dc8e1e9fc536b50c1dea3a5f61 --- bootstrap/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap/config.go b/bootstrap/config.go index 6756046..9972b5d 100644 --- a/bootstrap/config.go +++ b/bootstrap/config.go @@ -99,9 +99,9 @@ type BootstrapConfig interface { type StopBefore int const ( - DoEverything StopBefore = 0 - StopBeforePrepareBuildActions StopBefore = 1 - StopBeforeWriteNinja StopBefore = 2 + DoEverything StopBefore = iota + StopBeforePrepareBuildActions + StopBeforeWriteNinja ) type PrimaryBuilderInvocation struct {