File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ async function setup_theme(themeName) {
4747 return false ;
4848 }
4949
50- // Ensure the current working directory ends with wp- themes
50+ // Ensure the current working directory ends themes
5151 const cwd = process . cwd ( ) ;
52- if ( ! cwd . endsWith ( 'wp-themes' ) ) {
52+ if ( ! cwd . endsWith ( 'wp-content/ themes' ) ) {
5353 console . log (
5454 chalk . red ( '\nThis command needs to be run inside a wp-themes folder.' )
5555 ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " @webredone/trb-cli" ,
3- "version" : " 3.0.3 " ,
3+ "version" : " 3.0.4 " ,
44 "description" : " TRB-CLI is a handy Node.js CLI that automates the process of managing blocks in a Theme Redone WordPress theme" ,
55 "main" : " index.js" ,
66 "type" : " module" ,
You can’t perform that action at this time.
0 commit comments