Skip to content

Commit

Permalink
Corrijo warning y subo versión
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoefe committed Oct 18, 2016
1 parent f96e037 commit ccad013
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/txt-to-sql.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ function determinePrimaryKey(info) {
}catch(err){
if(err.message!=="haveNullColumns") { throw err; }
}
if(columnsInKey.length>0 && (! info.primaryKey || ! info.primaryKey.length>0)) {
if(columnsInKey.length>0 && (! info.primaryKey || ! info.primaryKey.length)) {
var failingColumns = columnsInKey.map(function(col) {
return info.columnsInfo[col].name;
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "txt-to-sql",
"description": "Tools for convert text data to SQL sentences",
"version": "0.0.10",
"version": "0.0.11",
"author": "Codenautas <codenautas@googlegroups.com>",
"repository": "codenautas/txt-to-sql",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion web/txt-to-sql.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ function determinePrimaryKey(info) {
}catch(err){
if(err.message!=="haveNullColumns") { throw err; }
}
if(columnsInKey.length>0 && (! info.primaryKey || ! info.primaryKey.length>0)) {
if(columnsInKey.length>0 && (! info.primaryKey || ! info.primaryKey.length)) {
var failingColumns = columnsInKey.map(function(col) {
return info.columnsInfo[col].name;
});
Expand Down

0 comments on commit ccad013

Please sign in to comment.