Comparing version 1.2.2 to 1.2.3
@@ -38,2 +38,4 @@ #!/usr/bin/env node | ||
var key = _event.value.frame.testData.metadata.find(function(r) { return r.key === '!instrument.serial'}) | ||
var dateTime = _event.value.frame.testData.metadata.find(function(r) { return r.key === '!tablet.dateTime'}) | ||
if (key) { | ||
@@ -45,7 +47,4 @@ instrumentName = key.value | ||
console.log(path.basename(file, '.txt')) | ||
var yyyy = pieces[1].substring(4,8) | ||
var dd = pieces[1].substring(0,2) | ||
var mm = pieces[1].substring(2,4) | ||
var name = instrumentName + '-' + yyyy + mm + dd + '-' + pieces[2] + '-' + pieces[0] + '.txt' | ||
var name = instrumentName + '-' + dateTime + '-' + '-' + pieces[0] + '-' + uuid() + '.txt' | ||
@@ -52,0 +51,0 @@ var writeStream = fs.createWriteStream(destination + '/' + name) |
{ | ||
"name": "flat-spe", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
43300504
44