1+ "use strict" ;
2+ var __createBinding = ( this && this . __createBinding ) || ( Object . create ? ( function ( o , m , k , k2 ) {
3+ if ( k2 === undefined ) k2 = k ;
4+ var desc = Object . getOwnPropertyDescriptor ( m , k ) ;
5+ if ( ! desc || ( "get" in desc ? ! m . __esModule : desc . writable || desc . configurable ) ) {
6+ desc = { enumerable : true , get : function ( ) { return m [ k ] ; } } ;
7+ }
8+ Object . defineProperty ( o , k2 , desc ) ;
9+ } ) : ( function ( o , m , k , k2 ) {
10+ if ( k2 === undefined ) k2 = k ;
11+ o [ k2 ] = m [ k ] ;
12+ } ) ) ;
13+ var __setModuleDefault = ( this && this . __setModuleDefault ) || ( Object . create ? ( function ( o , v ) {
14+ Object . defineProperty ( o , "default" , { enumerable : true , value : v } ) ;
15+ } ) : function ( o , v ) {
16+ o [ "default" ] = v ;
17+ } ) ;
18+ var __importStar = ( this && this . __importStar ) || function ( mod ) {
19+ if ( mod && mod . __esModule ) return mod ;
20+ var result = { } ;
21+ if ( mod != null ) for ( var k in mod ) if ( k !== "default" && Object . prototype . hasOwnProperty . call ( mod , k ) ) __createBinding ( result , mod , k ) ;
22+ __setModuleDefault ( result , mod ) ;
23+ return result ;
24+ } ;
25+ var __exportStar = ( this && this . __exportStar ) || function ( m , exports ) {
26+ for ( var p in m ) if ( p !== "default" && ! Object . prototype . hasOwnProperty . call ( exports , p ) ) __createBinding ( exports , m , p ) ;
27+ } ;
28+ Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
29+ exports . sync = exports . isexe = exports . posix = exports . win32 = void 0 ;
30+ const posix = __importStar ( require ( "./posix.js" ) ) ;
31+ exports . posix = posix ;
32+ const win32 = __importStar ( require ( "./win32.js" ) ) ;
33+ exports . win32 = win32 ;
34+ __exportStar ( require ( "./options.js" ) , exports ) ;
35+ const platform = process . env . _ISEXE_TEST_PLATFORM_ || process . platform ;
36+ const impl = platform === 'win32' ? win32 : posix ;
37+ /**
38+ * Determine whether a path is executable on the current platform.
39+ */
40+ exports . isexe = impl . isexe ;
41+ /**
42+ * Synchronously determine whether a path is executable on the
43+ * current platform.
44+ */
45+ exports . sync = impl . sync ;
46+ //# sourceMappingURL=index.js.map
0 commit comments