Urara-Blog/node_modules/.pnpm-store/v3/files/c1/45b28bf59c9d176d56e485a4457b1ae453bd9540d6a6d0f2ad08b6c4353471b0157259767dc2d91818f81b023f71a31aa65522286c22fff983e051897d82c9
2022-08-14 01:14:53 +08:00

16 lines
315 B
Text

'use strict';
const isLinux = () => process.platform === 'linux';
let report = null;
const getReport = () => {
if (!report) {
/* istanbul ignore next */
report = isLinux() && process.report
? process.report.getReport()
: {};
}
return report;
};
module.exports = { isLinux, getReport };