git-csv-diff
Advanced tools
Comparing version 1.1.13 to 1.1.14
{ | ||
"name": "git-csv-diff", | ||
"author": "Valor-Software", | ||
"version": "1.1.13", | ||
"version": "1.1.14", | ||
"license": "GPL-3.0", | ||
@@ -6,0 +6,0 @@ "description": "Library generate difference between csv-files based on Git commit hash", |
@@ -59,2 +59,6 @@ 'use strict'; | ||
setMetaDataFile(modelDiff.metadata.file, metaData); | ||
if(!isSchemaExists(modelDiff.metadata)) { | ||
return; | ||
} | ||
setMetaDataType(modelDiff.metadata); | ||
@@ -465,2 +469,7 @@ setMetaDataLanguage(modelDiff.metadata, metaData.fileName); | ||
function isSchemaExists(metadata) { | ||
const schemaSource = metadata.file.new ? metadata.file.new : metadata.file.old; | ||
return schemaSource && schemaSource.hasOwnProperty('schema'); | ||
} | ||
function setMetaDataType(metadata) { | ||
@@ -467,0 +476,0 @@ const primaryKeys = getPrimaryKeys(metadata); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73661
935