From bdd28d9d5b9b48bbb3c538dfcf4d1043a76ac240 Mon Sep 17 00:00:00 2001 From: Maksim Date: Mon, 24 Apr 2017 12:46:56 -0400 Subject: [PATCH] fix removing whitespace --- templates/16_update.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/16_update.tpl b/templates/16_update.tpl index 708723e..50c7f49 100644 --- a/templates/16_update.tpl +++ b/templates/16_update.tpl @@ -56,7 +56,7 @@ func (o *{{$tableNameSingular}}) Update(exec boil.Executor, whitelist ... string {{if eq .DriverName "mssql"}} wl = strmangle.SetComplement(wl, {{$varNameSingular}}ColumnsWithAuto) {{end}} - {{- if not .NoAutoTimestamps}} + {{if not .NoAutoTimestamps}} if len(whitelist) == 0 { wl = strmangle.SetComplement(wl, []string{"created_at"}) }