mirror of
https://github.com/JonasunderscoreJones/api.jonasjones.dev.git
synced 2025-10-23 20:19:19 +02:00
Initial commit (by create-cloudflare CLI)
This commit is contained in:
commit
58a42872a0
1745 changed files with 741893 additions and 0 deletions
19
node_modules/detect-libc/lib/process.js
generated
vendored
Normal file
19
node_modules/detect-libc/lib/process.js
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
// Copyright 2017 Lovell Fuller and others.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
'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 };
|
Loading…
Add table
Add a link
Reference in a new issue