GRAYBYTE WORDPRESS FILE MANAGER9240

Server IP : 198.54.121.189 / Your IP : 216.73.216.34
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/elementor/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/elementor//run-on-linux.js
const { spawn, exec } = require( 'child_process' );
const packageJson = require( './package.json' );

function isDockerExist() {
	return new Promise( ( resolve ) => {
		exec( 'docker -v', ( error ) => {
			resolve( ! error );
		} );
	} );
}

async function run( tag ) {
	const playwrightVersion = packageJson.devDependencies[ '@playwright/test' ];
	const workingDir = process.cwd();

	const command = 'docker run';
	const options = [
		'--rm',
		'--network host',
		`--volume ${ workingDir }:/work`,
		'--workdir /work/',
		'--interactive',
		process.env.CI ? '' : '--tty',
	];
	const image = `mcr.microsoft.com/playwright:v${ playwrightVersion.replace( '^', '' ) }-jammy`;
	const commandToRun = `/bin/bash -c "npm run test:playwright -- --grep="${ tag }""`;

	spawn( `${ command } ${ options.join( ' ' ) } ${ image } ${ commandToRun }`, {
		stdio: 'inherit',
		stderr: 'inherit',
		shell: true,
	} );
}

( async () => {
	if ( ! await isDockerExist() ) {
		// eslint-disable-next-line no-console
		console.error( 'Docker is not installed, please install it first.' );

		process.exit( 1 );
	}

	await run( process.argv.slice( 2 ) );
} )();

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:19
giriqfky / giriqfky
0755
app
--
July 10 2025 04:32:29
giriqfky / giriqfky
0755
assets
--
July 10 2025 04:32:28
giriqfky / giriqfky
0755
core
--
July 10 2025 04:32:27
giriqfky / giriqfky
0755
data
--
July 10 2025 04:32:29
giriqfky / giriqfky
0755
includes
--
July 10 2025 04:32:28
giriqfky / giriqfky
0755
modules
--
July 10 2025 04:32:28
giriqfky / giriqfky
0755
vendor
--
July 10 2025 04:32:27
giriqfky / giriqfky
0755
vendor_prefixed
--
July 10 2025 04:32:27
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:27
giriqfky / giriqfky
0644
changelog.txt
320.118 KB
July 07 2025 16:02:28
giriqfky / giriqfky
0644
elementor.php
3.678 KB
July 07 2025 16:02:28
giriqfky / giriqfky
0644
license.txt
34.323 KB
April 23 2023 15:22:46
giriqfky / giriqfky
0644
readme.txt
29.512 KB
July 07 2025 16:02:28
giriqfky / giriqfky
0644
run-on-linux.js
1.113 KB
January 20 2025 19:15:08
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF