We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e108a9 commit 527f6e4Copy full SHA for 527f6e4
cnj_validate.go
@@ -1,7 +1,6 @@
1
package CNJ_Validate
2
3
import (
4
- "errors"
5
"fmt"
6
"github.com/Darklabel91/CNJ_Validate/CSV"
7
"github.com/Darklabel91/CNJ_Validate/Functions"
@@ -11,7 +10,7 @@ import (
11
10
func AnalyzeCNJCSV(rawFilePath string, separator rune, nameResultFolder string) error {
12
raw, err := CSV.ReadCsvFile(rawFilePath, separator)
13
if err != nil {
14
- return errors.New("CSV must have only one collum with cnj (without title)")
+ return err
15
}
16
err = createCSVs(raw, nameResultFolder)
17
0 commit comments