Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kcubeterm committed Jul 28, 2021
1 parent ff49fcd commit d72869e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crawler/crawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ function universalFileIndexer(filePath) {
// Files without extension or unrecognised extension will be
// processed through mimetypes
default:
stdout = exec(`file --mime-type ${filePath}`).toString()
var mimeType = stdout.split(':')[1].trim();
mimeTypeSwitch(mimeType, filePath)

stdout = exec(`file --mime-type ${filePath}`).toString()
var mimeType = stdout.split(':')[1].trim();
mimeTypeSwitch(mimeType, filePath)

}

Expand Down

0 comments on commit d72869e

Please sign in to comment.