Skip to content

Commit

Permalink
[N/A] Fix Github file removal
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-viget committed Nov 14, 2024
1 parent 4b3c8ee commit 230c94b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.' );
Expand All @@ -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.' );
Expand Down

0 comments on commit 230c94b

Please sign in to comment.