Skip to content

Commit

Permalink
removed unused require
Browse files Browse the repository at this point in the history
  • Loading branch information
matteopic committed Dec 24, 2024
1 parent aec5ee6 commit d85f531
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/generateReturnCampaigns.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const Ajv = require('ajv');
const fs = require('fs');
const path = require('path');
const jsonlint = require('jsonlint');
Expand Down Expand Up @@ -44,7 +43,9 @@ const input_replace_dir = input_dir === '.' ? '' : `${input_dir}${path.sep}`;

console.log(`Generating Return Campaigns: (${input_dir}) -> (${output_dir})`);

getFilePaths(`${input_dir}${path.sep}return_campaigns`).sort().map(file => {
getFilePaths(`${input_dir}${path.sep}return_campaigns`)
.sort()
.map(file => {
if (file.endsWith('.schema.json') || !file.endsWith('.json')) {
return;
}
Expand Down

0 comments on commit d85f531

Please sign in to comment.