Fix: Postman-import-translation not adding comments for unsupported APIs

There was an error in one of the WIP feature which is breaking the
translation, for now commenting it out.
This commit is contained in:
ramki-bruno
2025-02-10 20:31:31 +05:30
committed by Anoop M D
parent 8810b9e291
commit 70ee819bae

View File

@@ -54,7 +54,7 @@ export const postmanTranslation = (script, logCallback) => {
}
if (modifiedScript.includes('pm.') || modifiedScript.includes('postman.')) {
modifiedScript = modifiedScript.replace(/^(.*(pm\.|postman\.).*)$/gm, '// $1');
logCallback?.();
//logCallback?.();
}
return modifiedScript;
} catch (e) {