Skip to content

Commit 4cb3211

Browse files
committed
🐛 FIX: Canary
1 parent f9ff048 commit 4cb3211

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • packages/create-guten-block/app

packages/create-guten-block/app/run.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ module.exports = async() => {
2626
// 1. Set the CLI and get the blockName.
2727
const { blockName, isCanary } = cli();
2828

29-
isCanary && chalk.dim(`\n ⚠️ THIS IS THE CANARY MODE FOR DEV TESTING\n`),
29+
// 1.1 If we are testing in dev mode then notify.
30+
if ( isCanary ) {
31+
console.log( chalk.dim( '\n ⚠️ THIS IS THE CANARY MODE FOR DEV TESTING\n' ) );
32+
}
3033

3134
// 2. Build the block directory path.
3235
const blockDir = await getBlockDir( blockName );

0 commit comments

Comments
 (0)