diff --git a/bin/composer-scripts/ProjectEvents/PostCreateProjectScript.php b/bin/composer-scripts/ProjectEvents/PostCreateProjectScript.php index 326e8742..9fb2f384 100644 --- a/bin/composer-scripts/ProjectEvents/PostCreateProjectScript.php +++ b/bin/composer-scripts/ProjectEvents/PostCreateProjectScript.php @@ -540,7 +540,7 @@ private static function removeRootVendorDir(): void { private static function removeGithubFiles(): void { self::writeLine( 'Removing GitHub integration files...' ); - $deployFile = self::translatePath( '.github/workflows/deploy.yaml' ); + $deployFile = self::translatePath( '.github/workflows/deploy.yaml', true ); if ( ! file_exists( $deployFile ) ) { self::writeWarning( 'Deployment script not found. Skipping removal.' ); @@ -549,7 +549,7 @@ private static function removeGithubFiles(): void { self::writeInfo( 'Deployment script removed.' ); } - $componentTemplate = self::translatePath( '.github/ISSUE_TEMPLARTE/new-component-ticket.md' ); + $componentTemplate = self::translatePath( '.github/ISSUE_TEMPLATE/new-component-ticket.md', true ); if ( ! file_exists( $componentTemplate ) ) { self::writeWarning( 'Component Issue template not found. Skipping removal.' );