Skip to content

Commit

Permalink
fixed history path for manual additions
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudiohbsantos committed Aug 20, 2019
1 parent 561c70d commit 431590f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ let renamed = 0
add.quick = function(input) {
log.info('DBAssistant: (quick) Adding files to Databases')
log.info(`Database: ${input.db}`)
add.history = require(path.resolve(__dirname,'..','lib','history.js'))('cli',__dirname)
add.history = require(path.resolve(__dirname,'..','lib','history.js'))('cli',path.join(path.dirname(process.execPath),'history'))

input.sources.forEach(source => {
let f = new add.file(source,() => {
Expand Down

0 comments on commit 431590f

Please sign in to comment.