mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-05-21 15:35:53 +00:00
Testing actions
This commit is contained in:
commit
8a260b16ec
340 changed files with 72676 additions and 0 deletions
18
node_modules/universal-user-agent/dist-node/index.js
generated
vendored
Normal file
18
node_modules/universal-user-agent/dist-node/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
function getUserAgent() {
|
||||
if (typeof navigator === "object" && "userAgent" in navigator) {
|
||||
return navigator.userAgent;
|
||||
}
|
||||
|
||||
if (typeof process === "object" && "version" in process) {
|
||||
return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;
|
||||
}
|
||||
|
||||
return "<environment undetectable>";
|
||||
}
|
||||
|
||||
exports.getUserAgent = getUserAgent;
|
||||
//# sourceMappingURL=index.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue