Version: 0.0.1-15952358971.0.01.0.11.0.21.0.31.0.41.0.51.0.61.0.71.0.81.0.91.0.101.0.111.0.12-error-codes.2361.0.121.1.01.1.11.1.21.1.31.1.41.1.51.1.61.1.71.1.81.1.91.1.10-jarmo.31.1.10-jarmo.41.1.111.1.121.1.131.1.141.1.151.1.161.1.171.1.181.1.191.1.20-otp-test.311.1.201.1.211.1.221.1.231.1.241.1.251.1.261.1.281.1.291.1.301.1.311.1.321.1.331.1.341.1.351.1.361.1.371.1.381.1.391.1.401.1.411.1.421.1.441.1.45-telemetry-test.30181.1.45-telemetry-test.30191.1.45-telemetry-test.30201.1.45-telemetry-test.30221.1.451.1.461.1.471.1.48-berry-mdx.561.1.481.1.491.1.501.1.511.1.521.1.531.1.541.1.551.1.561.1.57-state-machine.1261.2.01.2.11.2.21.2.3-prompt-restart.781.2.3-prompt-restart.821.2.3-prompt-restart.831.2.3-prompt-restart.961.2.31.2.41.2.5-unifiedroutes.761.2.5-unifiedroutes-v2.1351.2.51.2.61.3.01.3.11.3.21.3.31.3.41.3.51.3.61.3.71.3.81.3.91.3.101.3.111.3.121.3.131.3.141.3.161.3.171.3.181.3.191.3.201.3.21-telemetry-test.171.3.21-telemetry-test.181.3.21-telemetry-test.191.3.21-telemetry-test.201.3.21-telemetry-test.301.3.21-telemetry-test.311.3.21-telemetry-test.351.3.21-telemetry-test.361.3.21-telemetry-test.371.3.21-telemetry-test.381.3.21-telemetry-test.391.3.21-telemetry-test.401.3.21-telemetry-test.411.3.21-telemetry-test.591.3.21-telemetry-testt.301.3.21-telemetry-testt.311.3.21-telemetry-testt.321.3.21-telemetry-testt.341.3.21-telemetry-testt.581.3.21-telemetry-testt.591.3.21-telemetry-testt.601.3.21-telemetry-testt.611.3.21-telemetry-testt.631.3.21-telemetry-testt.641.3.21-telemetry-testt.651.3.21-telemetry-testt.661.3.21-telemetry-testt.671.3.211.3.221.3.23-telemetry-test.161.3.231.3.24-telemetry-test.1191.3.24-telemetry-test.1221.3.24-telemetry-test.1251.3.241.3.251.3.261.3.271.3.28-incbuild-collections.831.3.281.3.291.3.301.3.311.3.321.3.331.3.341.3.351.3.36-telemetry-test.1271.3.36-telemetry-test.5231.3.36-telemetry-test.5241.3.36-telemetry-test.5251.3.36-telemetry-test.5271.3.36-telemetry-test2.5241.3.36-telemetry-test2.5251.3.36-telemetry-test2.5261.3.36-telemetry-testt.1271.3.36-telemetry-testt.1291.3.36-telemetry-testt.4231.3.36-telemetry-testt.4241.3.36-telemetry-testt.4261.3.361.3.371.3.381.3.391.3.401.4.0-next.01.4.0-next.11.4.0-next.21.4.01.4.11.5.0-next.01.5.0-next.11.5.0-telemetry-test.3141.5.0-telemetry-test.3151.5.0-telemetry-test.3261.5.0-telemetry-test.3731.5.0-telemetry-test2.3261.5.0-telemetry-test2.3271.5.01.5.11.6.0-next.01.6.0-next.11.6.01.7.0-next.01.7.01.7.11.8.0-next.01.8.0-next.11.8.01.8.11.9.0-next.01.9.0-next.11.9.01.10.0-next.01.10.0-next.11.10.01.10.11.10.21.11.0-next.02.0.0-next.02.0.0-next.12.0.0-next.22.0.0-v3rc.02.0.02.1.0-next.02.1.0-next.12.1.0-next.22.1.02.2.0-next.02.2.02.3.0-next.02.3.0-next.12.3.0-telemetry-test.552.3.0-telemetry-test.562.3.02.4.0-functions-next.182.4.0-next.02.4.0-next.12.4.0-next.32.4.02.4.12.5.0-next.02.5.0-next.12.5.0-telemetry-test.2962.5.02.6.0-next.02.6.02.7.0-next.02.7.0-next.12.7.0-next.22.7.02.7.12.8.0-next.02.8.0-next.12.8.02.9.0-next.02.9.0-next.12.9.02.10.0-alpha-remote-fetch.592.10.0-alpha-remote-file.482.10.0-next.02.10.0-next.12.10.02.11.0-alpha-qe-sm.412.11.0-alpha-qe-sm.422.11.0-alpha-qe-sm.642.11.0-alpha-qe-sm.832.11.0-alpha-qe-sm.852.11.0-alpha-qe-sm.862.11.0-alpha-qe-sm.1082.11.0-next.02.11.02.12.0-coreutils.292.12.0-next.02.12.0-next.12.12.0-next.22.12.0-next.32.12.02.13.0-next.02.13.0-next.12.13.0-next.22.13.02.14.0-alpha-qe-sm.462.14.0-alpha-remote-fetch.782.14.0-alpha-remote-fetch.792.14.0-drupal-next.942.14.0-next.02.14.0-next.12.14.0-next.22.14.02.15.03.0.0-alpha-9689ff.53.0.0-alpha-9689ff.83.0.0-alpha-9689ff.133.0.0-alpha-9689ff.173.0.0-alpha-9689ff.223.0.0-alpha-9689ff.243.0.0-alpha-9689ff.273.0.0-alpha-9689ff.343.0.0-alpha-9689ff.363.0.0-next.03.0.0-next.13.0.0-next.23.0.0-zz-next.03.0.0-zz-next.13.0.0-zz-next.23.0.0-zz-next.33.0.03.1.0-next.03.1.0-next.13.1.03.1.13.1.23.1.33.2.0-next.03.2.0-next.13.2.0-next.23.2.03.3.0-next.03.3.0-next.13.3.03.4.0-next.03.4.0-next.13.4.03.5.0-alpha-trailing-slash.713.5.0-next.03.5.0-next.13.5.0-next.23.5.0-next.33.5.03.5.13.5.23.6.0-alpha-ts-jit.273.6.0-next.03.6.0-next.13.6.0-next.23.6.03.7.0-alpha-image-service.133.7.0-alpha-image-service.143.7.0-alpha-image-service.163.7.0-next.03.7.0-next.13.7.03.8.0-alpha-image-service.243.8.0-alpha-image-service.253.8.0-alpha-image-service.263.8.0-alpha-image-service.283.8.0-alpha-image-service.293.8.0-alpha-image-service.323.8.0-alpha-image-service.333.8.0-alpha-image-service.343.8.0-alpha-image-service.353.8.0-alpha-image-service.543.8.0-next.03.8.0-next.13.8.03.8.13.8.23.9.0-alpha-image-service2.143.9.0-next.03.9.0-next.13.9.03.9.13.10.0-next.03.10.0-next.13.10.0-next.23.10.0-next.33.10.03.10.13.11.0-next.03.11.0-next.13.11.03.11.13.12.0-next.03.12.0-next.13.12.0-next.23.12.0-next.33.12.03.12.13.13.0-next.03.13.03.14.0-alpha-transformer-json.263.14.0-next.03.14.0-next.13.14.0-next.23.14.0-next.33.14.03.15.0-alpha-wp-image-cdn-auth.453.15.0-next.03.15.0-next.13.15.03.16.0-next.03.16.03.17.0-next.03.17.0-next.13.17.03.18.0-alpha-drupal-self-reference.183.18.0-alpha-mdx-v2.663.18.0-alpha-mdx-v2.683.18.0-mdxv4-rc.683.18.0-mdxv4-rc.763.18.0-next.03.18.0-next.13.18.03.18.13.19.0-next.03.19.0-next.13.19.0-next.23.19.03.20.0-mdxv4-rc.1093.20.0-mdxv4-rc.1243.20.0-next.03.20.03.21.0-next.03.21.0-next.13.21.0-next.23.21.03.22.0-next.03.22.0-next.13.22.03.23.0-alpha-9689ff.253.23.0-alpha-preview-gh-api.263.23.0-alpha-v5.263.23.0-next.03.23.03.24.0-next.03.24.0-next.13.24.03.25.0-next.03.25.04.0.0-alpha-drupal-proxyurl.144.0.0-alpha-v5.164.0.0-alpha-v5.244.0.0-alpha-v5.254.0.0-alpha-v5.264.0.0-alpha-v5.d20221005t111511.354.0.0-alpha-v5.d20221007t081809.414.0.0-alpha-v5.d20221010t183635.514.0.0-alpha-v5.d20221012t101120.574.0.0-next.04.0.0-next.14.0.0-next.24.0.04.1.0-next.04.1.04.2.0-next.04.2.04.3.0-next.04.3.0-next.14.3.04.3.14.4.0-next.04.4.0-next.14.4.0-next.24.4.04.5.0-next.04.5.0-next.14.5.04.6.0-next.04.6.04.7.0-next.04.7.04.8.0-next.04.8.04.9.0-next.04.9.0-next.14.9.04.10.0-next.04.10.0-next.14.10.0-next.24.10.04.11.0-next.04.11.0-next.14.11.04.12.0-next.04.12.0-next.14.12.04.12.14.13.0-next.04.13.0-next.14.13.04.13.14.14.0-next.04.14.0-next.14.14.0-next.2
"use strict";
const {
join
} = require(`path`);
fork
} = require(`child_process`);
module.exports = isTrackingEnabled => async () => {
if (!isTrackingEnabled) {
return;
} // Submit events on background w/o blocking the main process
// nor relying on it's lifecycle
const forked = fork(join(__dirname, `send.js`), {
detached: true,
stdio: `ignore`,
execArgv: []
});
forked.unref();
};