slite-change
Advanced tools
Comparing version 1.2.5-0 to 1.2.6-0
@@ -103,3 +103,2 @@ "use strict"; | ||
}); | ||
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) { | ||
@@ -123,3 +122,2 @@ 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) => { | ||
@@ -126,0 +124,0 @@ this.ChangesCompleted++; |
{ | ||
"name": "slite-change", | ||
"version": "1.2.5-0", | ||
"version": "1.2.6-0", | ||
"description": "A simple change management system for SQLite3 written in pure JavaScript/TypeScript.", | ||
@@ -9,3 +9,3 @@ "main": "dist/slite-change.js", | ||
"test": "ts-mocha test/*.spec.ts", | ||
"beta": "np --any-branch prepatch --tag=beta-$(git rev-parse --short HEAD)" | ||
"beta": "tsc; np --any-branch prepatch --tag=beta-$(git rev-parse --short HEAD)" | ||
}, | ||
@@ -12,0 +12,0 @@ "repository": { |
@@ -127,4 +127,2 @@ "use strict"; | ||
}); | ||
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); | ||
@@ -150,3 +148,2 @@ if(this.callStack.length === files.length) { | ||
if(row['c'] === 0) { | ||
console.log('indexOf CR=%d', callStack.sql.indexOf('\n')); | ||
this.Sql.exec(callStack.sql, (err: any) => { | ||
@@ -153,0 +150,0 @@ this.ChangesCompleted++; |
47396
537