summaryrefslogtreecommitdiff
path: root/pivotTable.go
diff options
context:
space:
mode:
authordavidborry <davidborryfr@gmail.com>2022-08-27 09:16:41 -0700
committerGitHub <noreply@github.com>2022-08-28 00:16:41 +0800
commitbef49e40eec508a6413e80ee5df7df52f7827424 (patch)
treed71fcc5d3abef6f8943e3fc2f75fe9dd796d94fd /pivotTable.go
parentf8667386dcde788d8232b652ac85a138c0d20bf3 (diff)
This closes #1330 update non existing sheet error messages (#1331)
Diffstat (limited to 'pivotTable.go')
-rw-r--r--pivotTable.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pivotTable.go b/pivotTable.go
index bd9fee6..1ef0333 100644
--- a/pivotTable.go
+++ b/pivotTable.go
@@ -190,7 +190,7 @@ func (f *File) parseFormatPivotTableSet(opt *PivotTableOption) (*xlsxWorksheet,
}
pivotTableSheetPath, ok := f.getSheetXMLPath(pivotTableSheetName)
if !ok {
- return dataSheet, pivotTableSheetPath, fmt.Errorf("sheet %s is not exist", pivotTableSheetName)
+ return dataSheet, pivotTableSheetPath, fmt.Errorf("sheet %s does not exist", pivotTableSheetName)
}
return dataSheet, pivotTableSheetPath, err
}