Skip to content

Commit

Permalink
update on few small issues
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed May 8, 2024
1 parent e11eff4 commit abcaade
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Init/InitThemeSetupCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,11 @@ public function __invoke(array $args, array $assocArgs)
->outputWrite($destionation, $file, $assocArgs);
}

\rename($destionation, $this->getSetupNewFolderName($destionation, $assocArgs[self::ARG_TEXTDOMAIN]));

$this->initMandatoryAfter();

\rename($destionation, $this->getSetupNewFolderName($destionation, $assocArgs[self::ARG_TEXTDOMAIN]));
WP_CLI::runcommand('theme activate ' . $assocArgs[self::ARG_TEXTDOMAIN]);
WP_CLI::runcommand('boilerplate init theme');
}
}

0 comments on commit abcaade

Please sign in to comment.