Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
coveralls /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
convertLcovToCoveralls.js
3.59
KB
-rw-r--r--
2023-01-25 01:11
detectLocalGit.js
1.37
KB
-rw-r--r--
2023-01-25 01:11
fetchGitData.js
2.94
KB
-rw-r--r--
2023-01-25 01:11
getOptions.js
8.42
KB
-rw-r--r--
2023-01-25 01:11
handleInput.js
1.04
KB
-rw-r--r--
2023-01-25 01:11
logger.js
334
B
-rw-r--r--
2023-01-25 01:11
sendToCoveralls.js
689
B
-rw-r--r--
2023-01-25 01:11
Save
Rename
'use strict'; const fetch = require('node-fetch'); const index = require('..'); const sendToCoveralls = (obj, cb) => { let urlBase = 'https://coveralls.io'; if (process.env.COVERALLS_ENDPOINT) { urlBase = process.env.COVERALLS_ENDPOINT; } const str = JSON.stringify(obj); const url = `${urlBase}/api/v1/jobs`; if (index.options.stdout) { process.stdout.write(str); cb(null, { statusCode: 200 }, ''); } else { fetch(url, { method: "post", body: str, headers: { 'Content-Type': 'application/json' }, }).then(res => { cb(null, res, res.body); }).catch(err => { cb(err); }); } }; module.exports = sendToCoveralls;