Skip to content

Commit e782416

Browse files
authored
Merge pull request #60 from Software-Developers-IRL/f/lastlink2
improve cmds, fix missing ;
2 parents 610d25f + c1b2759 commit e782416

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
"scripts": {
1313
"start": "node index.mjs",
1414
"littleMermaid2SQL": "npm run build && littleMermaid2SQL",
15-
"cli:help": "npm i -g && littleMermaid2SQL --help",
16-
"cli:test": "npm i -g && littleMermaid2SQL",
15+
"cli:help": "npm i --force -g && littleMermaid2SQL --help",
16+
"cli:test": "npm i --force -g && littleMermaid2SQL",
1717
"test": "jest",
1818
"lint": "eslint",
19-
"create": "npm run build && npm run test:cli",
19+
"create": "npm run build && npm run cli:test",
2020
"build": "tsc",
2121
"build:client": "browserify src/index.ts -p [ tsify --noImplicitAny ] > dist/littleMermaid.js"
2222
},

src/generate-sql-ddl.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,15 +173,14 @@ export class DbParser {
173173
pkCol
174174
)})`;
175175
}
176-
let test = 1 + 1;
177176
}
178177
}
179178

180179
if (attributesAdded != 0) {
181180
statement += "\n";
182181
}
183182

184-
statement += `)\n\n`;
183+
statement += `);\n\n`;
185184
return statement;
186185
}
187186

0 commit comments

Comments
 (0)