slite-change
Advanced tools
Comparing version 1.2.4-0 to 1.2.5-0
@@ -32,4 +32,3 @@ "use strict"; | ||
this.ReadChangeFiles((errorMsg) => { | ||
// console.log('main err "%s", files %d, Issued %d, Completed %d, callStack length %d', | ||
// errorMsg, this.sourceFiles, this.ChangesIssued, this.ChangesCompleted, this.callStack.length); | ||
console.log('main err "%s", files %d, Issued %d, Completed %d, callStack length %d', errorMsg, this.sourceFiles, this.ChangesIssued, this.ChangesCompleted, this.callStack.length); | ||
if ((errorMsg != '') || ((this.sourceFiles === this.ChangesIssued))) { | ||
@@ -91,2 +90,3 @@ Callback(errorMsg); | ||
Buffer += line; | ||
Buffer += '\n'; | ||
}); | ||
@@ -105,4 +105,3 @@ if ((ChangeAuthor == '') || (ChangeNumber == '')) { | ||
}); | ||
// console.log(" id %d, \npre %s, \nauthor %s, \nsql %s, \nfile %s,\nfiles %d,\ncallStack %d", | ||
// ChangeNumber, Pre, ChangeAuthor, Buffer.substring(0,40), file, files.length, this.callStack.length); | ||
console.log(" id %d, \npre %s, \nauthor %s, \nsql %s, \nfile %s,\nfiles %d,\ncallStack %d", ChangeNumber, Pre, ChangeAuthor, Buffer.substring(0, 40), file, files.length, this.callStack.length); | ||
if (this.callStack.length === files.length) { | ||
@@ -126,2 +125,3 @@ this.CommitChange(this.callStack.find((cB) => cB.previous == 0), (ErrMsg) => { | ||
if (row['c'] === 0) { | ||
console.log('indexOf CR=%d', callStack.sql.indexOf('\n')); | ||
this.Sql.exec(callStack.sql, (err) => { | ||
@@ -128,0 +128,0 @@ this.ChangesCompleted++; |
{ | ||
"name": "slite-change", | ||
"version": "1.2.4-0", | ||
"version": "1.2.5-0", | ||
"description": "A simple change management system for SQLite3 written in pure JavaScript/TypeScript.", | ||
@@ -5,0 +5,0 @@ "main": "dist/slite-change.js", |
47965