summaryrefslogtreecommitdiff
path: root/lib.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-02-15 00:09:35 +0800
committerxuri <xuri.me@gmail.com>2021-02-15 00:09:35 +0800
commit36b7990d6ba1036823abf7a01ec8cf74509d4910 (patch)
tree118e8a9e0db3d071defb497cd98b2fa85595f7b9 /lib.go
parentca6b1577a7d1508e61e7084ee67ab0dd759b305e (diff)
lint issue fixed and new formula function: ATAN, AVERAGE, AVERAGEA, CONCAT, CONCATENATE, COUNT, COUNTBLANK, MAX
Diffstat (limited to 'lib.go')
-rw-r--r--lib.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.go b/lib.go
index 0ebe468..b6ea321 100644
--- a/lib.go
+++ b/lib.go
@@ -421,7 +421,7 @@ func (f *File) setIgnorableNameSpace(path string, index int, ns xml.Attr) {
// addSheetNameSpace add XML attribute for worksheet.
func (f *File) addSheetNameSpace(sheet string, ns xml.Attr) {
- name, _ := f.sheetMap[trimSheetName(sheet)]
+ name := f.sheetMap[trimSheetName(sheet)]
f.addNameSpaces(name, ns)
}