test(transformer): remove repeated code from fixtures updating script (#8287)

Pure refactor / tidy up. These 2 lines are repeated twice.
This commit is contained in:
overlookmotel 2025-01-06 11:55:00 +00:00
parent c8e48434c6
commit cd0c2dc6f7

View file

@ -191,8 +191,6 @@ async function transform(inputPath, options) {
cwd: import.meta.dirname,
};
delete options.BABEL_8_BREAKING;
delete options.validateLogs;
delete options.SKIP_ON_PUBLISH;
delete options.SKIP_babel7plugins_babel8core;
delete options.minNodeVersion;
delete options.validateLogs;