diff --git a/package.json b/package.json index bade4b1..965dff4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ssync", - "version": "0.0.19", + "version": "0.0.20", "description": "Sync a NetSuite environment with a local repository.", "main": "./dist/app.js", "scripts": { diff --git a/src/helpers/sdf.ts b/src/helpers/sdf.ts index 650d92c..bc39141 100644 --- a/src/helpers/sdf.ts +++ b/src/helpers/sdf.ts @@ -108,14 +108,14 @@ const importObjects = async () => { const importObjectsSlowly = async () => { // Ephermeral data customizations should not be supported at this time. - const ephermeralCustomizations = env.EXCLUDED.split(','); const slowlyImportCustomizations = env.SLOW.split(','); + console.log(`Customizations to slowly import: ${slowlyImportCustomizations}`); CustomObjects.forEach(async (custObject: CustomObject) => { - if (ephermeralCustomizations.includes(custObject.type)) return; if (custObject.objects[0] === undefined) return; + console.log(`Attempting to import slowly: ${custObject.type} ...`) + if (slowlyImportCustomizations.includes(custObject.type)) { - console.log(`Attempting to import slow ${custObject.type} ...`) // List all objects custObject.objects = (await runCommand(CLICommand.ListObjects, `--type ${custObject.type}`))