@@ -15,15 +15,28 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
1515} ) : function ( o , v ) {
1616 o [ "default" ] = v ;
1717} ) ;
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- } ;
18+ var __importStar = ( this && this . __importStar ) || ( function ( ) {
19+ var ownKeys = function ( o ) {
20+ ownKeys = Object . getOwnPropertyNames || function ( o ) {
21+ var ar = [ ] ;
22+ for ( var k in o ) if ( Object . prototype . hasOwnProperty . call ( o , k ) ) ar [ ar . length ] = k ;
23+ return ar ;
24+ } ;
25+ return ownKeys ( o ) ;
26+ } ;
27+ return function ( mod ) {
28+ if ( mod && mod . __esModule ) return mod ;
29+ var result = { } ;
30+ if ( mod != null ) for ( var k = ownKeys ( mod ) , i = 0 ; i < k . length ; i ++ ) if ( k [ i ] !== "default" ) __createBinding ( result , mod , k [ i ] ) ;
31+ __setModuleDefault ( result , mod ) ;
32+ return result ;
33+ } ;
34+ } ) ( ) ;
2535Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
26- exports . latestXcode = exports . allInstalledXcodeApplications = exports . installedXcodeApplicationsUnderApplicationsDirectory = exports . XcodeInfo = void 0 ;
36+ exports . XcodeInfo = void 0 ;
37+ exports . installedXcodeApplicationsUnderApplicationsDirectory = installedXcodeApplicationsUnderApplicationsDirectory ;
38+ exports . allInstalledXcodeApplications = allInstalledXcodeApplications ;
39+ exports . latestXcode = latestXcode ;
2740const core = __importStar ( require ( "@actions/core" ) ) ;
2841const exec = __importStar ( require ( "@actions/exec" ) ) ;
2942const fs = __importStar ( require ( "fs" ) ) ;
@@ -91,7 +104,6 @@ async function installedXcodeApplicationsUnderApplicationsDirectory() {
91104 }
92105 return _installedXcodeApplicationsUnderApplicationsDirectory ;
93106}
94- exports . installedXcodeApplicationsUnderApplicationsDirectory = installedXcodeApplicationsUnderApplicationsDirectory ;
95107let _allInstalledXcodeApplications = new Map ( ) ;
96108async function allInstalledXcodeApplications ( ) {
97109 if ( os . platform ( ) == 'darwin' && _allInstalledXcodeApplications . size < 1 ) {
@@ -110,7 +122,6 @@ async function allInstalledXcodeApplications() {
110122 }
111123 return _allInstalledXcodeApplications ;
112124}
113- exports . allInstalledXcodeApplications = allInstalledXcodeApplications ;
114125async function latestXcode ( ) {
115126 const list = await allInstalledXcodeApplications ( ) ;
116127 let latest = null ;
@@ -124,4 +135,3 @@ async function latestXcode() {
124135 }
125136 return latest ;
126137}
127- exports . latestXcode = latestXcode ;
0 commit comments