Skip to content

Commit

Permalink
Remove support for identifying the content type as CSV until the issu…
Browse files Browse the repository at this point in the history
…e with IsCSV is fixed.
  • Loading branch information
nikhilsbhat committed Jan 21, 2024
1 parent 8efad9f commit 48e3093
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions content/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ func IsCSV(content string) bool {
func (obj Object) CheckFileType(log *logrus.Logger) string {
log.Debug("identifying the input file type, allowed types are YAML/JSON/CSV")

if IsCSV(string(obj)) {
log.Debug("input file type identified as CSV")

return FileTypeCSV
}
//if IsCSV(string(obj)) {
// log.Debug("input file type identified as CSV")
//
// return FileTypeCSV
//}

if IsJSON(string(obj)) {
log.Debug("input file type identified as JSON")
Expand Down

0 comments on commit 48e3093

Please sign in to comment.