@@ -6238,14 +6238,6 @@ module.exports = require("path");
62386238
62396239/***/ } ) ,
62406240
6241- /***/ 7282 :
6242- /***/ ( ( module ) => {
6243-
6244- "use strict" ;
6245- module . exports = require ( "process" ) ;
6246-
6247- /***/ } ) ,
6248-
62496241/***/ 4404 :
62506242/***/ ( ( module ) => {
62516243
@@ -12938,7 +12930,6 @@ const core = __nccwpck_require__(7348);
1293812930const compose = __nccwpck_require__ ( 807 ) ;
1293912931const fs = __nccwpck_require__ ( 7147 ) ;
1294012932const yaml = __nccwpck_require__ ( 9299 ) ;
12941- const { exit } = __nccwpck_require__ ( 7282 ) ;
1294212933
1294312934const myArgs = process . argv . slice ( 2 ) ;
1294412935
@@ -12969,11 +12960,20 @@ async function down() {
1296912960 }
1297012961}
1297112962
12963+ async function execInContainer ( container , commands , options = { } ) {
12964+ for ( const c of commands )
12965+ {
12966+ await compose . exec ( container , c , options ) ;
12967+ }
12968+ }
12969+
1297212970async function init ( ) {
1297312971
12972+ /* eslint-disable-next-line security/detect-non-literal-fs-filename -- Safe as no value holds user input */
1297412973 if ( ! fs . existsSync ( __nccwpck_require__ . ab + "exec.yml" ) ) {
1297512974 core . info ( "exec.yml not found" ) ;
1297612975 } else {
12976+ /* eslint-disable-next-line security/detect-non-literal-fs-filename -- Safe as no value holds user input */
1297712977 let containerCommands = yaml . load ( fs . readFileSync ( __nccwpck_require__ . ab + "exec.yml" , "utf8" ) ) ;
1297812978
1297912979 for ( const cc of containerCommands [ "exec_list" ] ) {
@@ -12987,14 +12987,8 @@ async function init() {
1298712987 }
1298812988}
1298912989
12990- async function execInContainer ( container , commands , options = { } ) {
12991- for ( const c of commands )
12992- {
12993- await compose . exec ( container , c , options ) ;
12994- }
12995- }
12996-
1299712990try {
12991+ /* eslint-disable-next-line security/detect-non-literal-fs-filename -- Safe as no value holds user input */
1299812992 fs . existsSync ( __nccwpck_require__ . ab + "docker-compose.yml" ) ;
1299912993} catch ( error ) {
1300012994 core . setFailed ( error . message ) ;
0 commit comments