Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
feat: unify output formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlettau committed Oct 7, 2018
1 parent 1745c0f commit 69ac919
Show file tree
Hide file tree
Showing 5 changed files with 289 additions and 290 deletions.
2 changes: 1 addition & 1 deletion src/commands/pull.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class Pull {
return Promise.all<any>(
matched.map(item => {
return pool.request()
.query(`select * from ${item}`)
.query(`SELECT * FROM ${item}`)
.then(result => ({ name: item, result }));
})
)
Expand Down
2 changes: 1 addition & 1 deletion src/commands/push.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default class Push {

files.forEach(file => {
const content: string = fs.readFileSync(file, 'utf8');
const statements: string[] = content.split('go' + EOL);
const statements: string[] = content.split('GO' + EOL);

statements.forEach(statement => {
promise = promise.then(pool => {
Expand Down
Loading

0 comments on commit 69ac919

Please sign in to comment.