Browse Source

Merge pull request #2 from nishanthkarthik/patch-1

Update main.go
master
William Heng 7 years ago committed by GitHub
parent
commit
59ce694427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      main.go

2
main.go

@ -228,7 +228,7 @@ func writeInfoPlist(docsetName, docsetIndexFile, contentsDirectoryPath string) {
func initDB(resourcesDirectoryPath string, dbFunc func(*sql.DB)) { func initDB(resourcesDirectoryPath string, dbFunc func(*sql.DB)) {
dbPath := filepath.Clean(resourcesDirectoryPath + "/docset.dsidx") dbPath := filepath.Clean(resourcesDirectoryPath + "/docSet.dsidx")
// We don't care, we just want to remove the index // We don't care, we just want to remove the index
os.Remove(dbPath) os.Remove(dbPath)

Loading…
Cancel
Save