From a816fc595173ce311d1491ac9f992f58943c2489 Mon Sep 17 00:00:00 2001 From: minhhy2801 Date: Thu, 14 Nov 2019 13:55:05 +0700 Subject: [PATCH 1/2] update msg --- export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export.go b/export.go index aff404b..c379563 100644 --- a/export.go +++ b/export.go @@ -32,7 +32,7 @@ func getRecords(app *kintone.App, fields []string, offset int64) ([]*kintone.Rec return nil, true, err } if len(records) < 1 { - fmt.Println("No found record") + fmt.Println("No record found.") fmt.Println("Please check your query or permission settings.") os.Exit(1) } From 84b27d1caa47efa7dd853b451c5404f07c1fe5b5 Mon Sep 17 00:00:00 2001 From: Vo Duy Khanh <39976007+josh-vo@users.noreply.github.com> Date: Thu, 14 Nov 2019 14:10:49 +0700 Subject: [PATCH 2/2] Revert "Fix Cannot output data with some specific applications (no error)" --- export.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/export.go b/export.go index c379563..eb8b321 100644 --- a/export.go +++ b/export.go @@ -31,11 +31,6 @@ func getRecords(app *kintone.App, fields []string, offset int64) ([]*kintone.Rec if err != nil { return nil, true, err } - if len(records) < 1 { - fmt.Println("No record found.") - fmt.Println("Please check your query or permission settings.") - os.Exit(1) - } return records, (len(records) < EXPORT_ROW_LIMIT), nil }