Skip to content

Commit

Permalink
Fixed "DBFolder is not defined" error in historry logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudiohbsantos committed Jun 7, 2019
1 parent 2977948 commit e1de10e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
22 changes: 16 additions & 6 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
# DBAssistant v0.3.2

## IMPROVEMENTS

- history log files moved to Library directory, in DBA_history folder

## BUGS

- ReferenceError: DBFolder is not defined

# DBAssistant v0.3.1

## FEATURES

- Extracts all fields of metadata from BEXT, iXML, ID3, exif and vorbis tags.
- New metadata extractor without external dependencies
- Extracts all fields of metadata from BEXT, iXML, ID3, exif and vorbis tags.
- New metadata extractor without external dependencies

## IMPROVEMENTS

- DBAssistant doesn't depend on config.json anymore
- .ogg, .flac, .aif and .wv formats are now recognized
- Avoid newlines on verbose logging
- More steps are logged to file
- DBAssistant doesn't depend on config.json anymore
- .ogg, .flac, .aif and .wv formats are now recognized
- Avoid newlines on verbose logging
- More steps are logged to file
2 changes: 1 addition & 1 deletion lib/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class historyLogger {
this.user = user
this.libDir = new RegExp('^'+escapeRegExp(LibFolder),'i')

let logdir = path.join(DBFolder,"history")
let logdir = path.join(LibFolder,"DBA_history")
if (!fs.existsSync(logdir)){
fs.mkdirSync(logdir);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dbassistant",
"version": "0.3.1",
"version": "0.3.2",
"description": "",
"main": ".\\bin\\cli.js",
"bin": ".\\bin\\cli.js",
Expand Down

0 comments on commit e1de10e

Please sign in to comment.