From d85f5312f6fe7979bdb926941ccda2c932603e34 Mon Sep 17 00:00:00 2001 From: Matteo Date: Tue, 24 Dec 2024 10:44:51 +0100 Subject: [PATCH] removed unused require --- scripts/generateReturnCampaigns.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/generateReturnCampaigns.js b/scripts/generateReturnCampaigns.js index 58b5b8a25..11f7d9ca3 100644 --- a/scripts/generateReturnCampaigns.js +++ b/scripts/generateReturnCampaigns.js @@ -1,4 +1,3 @@ -const Ajv = require('ajv'); const fs = require('fs'); const path = require('path'); const jsonlint = require('jsonlint'); @@ -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; }