1
- /*global exports, process, require */
1
+ /*global exports, process*/
2
2
3
3
"use strict" ;
4
4
var __awaiter = ( this && this . __awaiter ) || function ( thisArg , _arguments , P , generator ) {
@@ -19,11 +19,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
19
19
Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
20
20
// Load tempDirectory before it gets wiped by tool-cache
21
21
let tempDirectory = process . env [ "RUNNER_TEMP" ] || "" ;
22
- const os = __importStar ( require ( "os" ) ) ;
23
- const path = __importStar ( require ( "path" ) ) ;
24
- const util = __importStar ( require ( "util" ) ) ;
25
- const restm = __importStar ( require ( "typed-rest-client/RestClient" ) ) ;
26
- const semver = __importStar ( require ( "semver" ) ) ;
22
+ const os = __importStar ( "os" ) ;
23
+ const path = __importStar ( "path" ) ;
24
+ const util = __importStar ( "util" ) ;
25
+ const restm = __importStar ( "typed-rest-client/RestClient" ) ;
26
+ const semver = __importStar ( "semver" ) ;
27
27
if ( ! tempDirectory ) {
28
28
let baseLocation ;
29
29
if ( process . platform === "win32" ) {
@@ -40,10 +40,10 @@ if (!tempDirectory) {
40
40
}
41
41
tempDirectory = path . join ( baseLocation , "actions" , "temp" ) ;
42
42
}
43
- const core = __importStar ( require ( "@actions/core" ) ) ;
44
- const tc = __importStar ( require ( "@actions/tool-cache" ) ) ;
45
- const exc = __importStar ( require ( "@actions/exec" ) ) ;
46
- const io = __importStar ( require ( "@actions/io" ) ) ;
43
+ const core = __importStar ( "@actions/core" ) ;
44
+ const tc = __importStar ( "@actions/tool-cache" ) ;
45
+ const exc = __importStar ( "@actions/exec" ) ;
46
+ const io = __importStar ( "@actions/io" ) ;
47
47
let osPlat = os . platform ( ) ;
48
48
let osArch = os . arch ( ) ;
49
49
function getProtoc ( version , includePreReleases , repoToken ) {
0 commit comments