Files
my-dev-server2/vscode-server-linux-x64-web/node_modules/detect-libc/lib/process.js
mol 263cb5ef03
Some checks failed
continuous-integration/drone/push Build is failing
test
2024-07-06 22:23:31 +08:00

17 lines
315 B
JavaScript

'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 };