Skip to content

Commit

Permalink
feat(cb2-13861): fix casing
Browse files Browse the repository at this point in the history
  • Loading branch information
naathanbrown committed Sep 23, 2024
1 parent d695fb7 commit 98e42dc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/util/generateBatchPlateData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const generateBatchPlateData = () => {
record.vin = `BPV${paddedIterator}`;
record.partialVin = paddedIterator;
records.push(record);
triggerData.push({ systemnumber: record.systemNumber, createdtimestamp: record.createdTimestamp });
triggerData.push({ systemNumber: record.systemNumber, createdTimestamp: record.createdTimestamp });

if (i % 1000 === 0) {
const fileName = `/tmp/technical-records-v3-with-batch-plates-${fileCount.toString()}.json`;
Expand All @@ -53,7 +53,7 @@ export const generateBatchPlateData = () => {
record.primaryVrm = `${paddedIterator}Z`;

records.push(record);
triggerData.push({ systemNumber: record.systemNumber, createdtimestamp: record.createdTimestamp });
triggerData.push({ systemNumber: record.systemNumber, createdTimestamp: record.createdTimestamp });

if (i % 1000 === 0) {
const fileName = `/tmp/technical-records-v3-with-batch-plates-${fileCount.toString()}.json`;
Expand All @@ -75,7 +75,7 @@ export const generateBatchPlateData = () => {
record.partialVin = paddedIterator;
delete record.techRecord_functionCode;
records.push(record);
triggerData.push({ systemnumber: record.systemNumber, createdtimestamp: record.createdTimestamp });
triggerData.push({ systemNumber: record.systemNumber, createdTimestamp: record.createdTimestamp });
}

const fileName1 = `/tmp/technical-records-v3-with-batch-plates-${fileCount.toString()}.json`;
Expand All @@ -95,7 +95,7 @@ export const generateBatchPlateData = () => {
delete record.techRecord_functionCode;
delete record.techRecord_model;
records.push(record);
triggerData.push({ systemnumber: record.systemNumber, createdtimestamp: record.createdTimestamp });
triggerData.push({ systemNumber: record.systemNumber, createdTimestamp: record.createdTimestamp });

if (i % 1000 === 0) {
const fileName = `/tmp/technical-records-v3-with-batch-plates-${fileCount.toString()}.json`;
Expand All @@ -120,7 +120,7 @@ export const generateBatchPlateData = () => {
delete record.techRecord_variantNumber;

records.push(record);
triggerData.push({ systemnumber: record.systemNumber, createdtimestamp: record.createdTimestamp });
triggerData.push({ systemNumber: record.systemNumber, createdTimestamp: record.createdTimestamp });

if (i % 1000 === 0) {
const fileName = `/tmp/technical-records-v3-with-batch-plates-${fileCount.toString()}.json`;
Expand All @@ -145,7 +145,7 @@ export const generateBatchPlateData = () => {
delete record.techRecord_roadFriendly;

records.push(record);
triggerData.push({ systemnumber: record.systemNumber, createdtimestamp: record.createdTimestamp });
triggerData.push({ systemNumber: record.systemNumber, createdTimestamp: record.createdTimestamp });
}
console.log('100K');
const fileName3 = `/tmp/technical-records-v3-with-batch-plates-${fileCount.toString()}.json`;
Expand All @@ -167,7 +167,7 @@ export const generateBatchPlateData = () => {
record.techRecord_recordCompleteness = 'skeleton';

records.push(record);
triggerData.push({ systemnumber: record.systemNumber, createdtimestamp: record.createdTimestamp });
triggerData.push({ systemNumber: record.systemNumber, createdTimestamp: record.createdTimestamp });
}
const fileName4 = `/tmp/technical-records-v3-with-batch-plates-${fileCount.toString()}.json`;
fileNames.push(fileName4);
Expand All @@ -185,7 +185,7 @@ export const generateBatchPlateData = () => {
record.techRecord_recordCompleteness = 'skeleton';

records.push(record);
triggerData.push({ systemnumber: record.systemNumber, createdtimestamp: record.createdTimestamp });
triggerData.push({ systemNumber: record.systemNumber, createdTimestamp: record.createdTimestamp });
}

const fileName5 = `/tmp/technical-records-v3-with-batch-plates-${fileCount.toString()}.json`;
Expand All @@ -204,7 +204,7 @@ export const generateBatchPlateData = () => {
record.partialVin = paddedIterator;

records.push(record);
triggerData.push({ systemnumber: record.systemNumber, createdtimestamp: record.createdTimestamp });
triggerData.push({ systemNumber: record.systemNumber, createdTimestamp: record.createdTimestamp });
}

const fileName6 = `/tmp/technical-records-v3-with-batch-plates-${fileCount.toString()}.json`;
Expand Down

0 comments on commit 98e42dc

Please sign in to comment.