mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
Fix.
This commit is contained in:
parent
596a6da241
commit
c1a589c5b6
7078 changed files with 1882834 additions and 319 deletions
27
node_modules/is-windows/index.js
generated
vendored
Normal file
27
node_modules/is-windows/index.js
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*!
|
||||
* 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