mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-20 21:14:45 +00:00
.
This commit is contained in:
parent
9fff29ba6c
commit
00c3b50fca
7278 changed files with 0 additions and 1778943 deletions
27
node_modules/is-windows/index.js
generated
vendored
27
node_modules/is-windows/index.js
generated
vendored
|
@ -1,27 +0,0 @@
|
|||
/*!
|
||||
* is-windows <https://github.com/jonschlinkert/is-windows>
|
||||
*
|
||||
* Copyright © 2015-2018, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
(function(factory) {
|
||||
if (exports && typeof exports === 'object' && typeof module !== 'undefined') {
|
||||
module.exports = factory();
|
||||
} else if (typeof define === 'function' && define.amd) {
|
||||
define([], factory);
|
||||
} else if (typeof window !== 'undefined') {
|
||||
window.isWindows = factory();
|
||||
} else if (typeof global !== 'undefined') {
|
||||
global.isWindows = factory();
|
||||
} else if (typeof self !== 'undefined') {
|
||||
self.isWindows = factory();
|
||||
} else {
|
||||
this.isWindows = factory();
|
||||
}
|
||||
})(function() {
|
||||
'use strict';
|
||||
return function isWindows() {
|
||||
return process && (process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE));
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue