From 2565b527a1022c119b2c911e51309eb1cd5c0c16 Mon Sep 17 00:00:00 2001 From: rdimaio Date: Sun, 26 Mar 2023 02:01:07 +0100 Subject: [PATCH] Fix typos --- packages/cli/e2e/test.bats | 6 +++--- packages/cli/src/lib/Installer.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/cli/e2e/test.bats b/packages/cli/e2e/test.bats index f6648ea65..e9cc95487 100755 --- a/packages/cli/e2e/test.bats +++ b/packages/cli/e2e/test.bats @@ -29,7 +29,7 @@ teardown() { @test "Install Flowershow template and preview site" { run install.sh $CLI_EXE assert_success - assert_output --partial "Successfuly installed" + assert_output --partial "Successfully installed" assert [ -d .flowershow/node_modules ] run node $CLI_EXE preview & sleep 20 @@ -45,7 +45,7 @@ teardown() { @test "Install Flowershow template, build and start site" { run install.sh $CLI_EXE assert_success - assert_output --partial "Successfuly installed" + assert_output --partial "Successfully installed" assert [ -d .flowershow/node_modules ] run node $CLI_EXE build @@ -73,7 +73,7 @@ teardown() { fi run install.sh $CLI_EXE - assert_output --partial "Successfuly installed" + assert_output --partial "Successfully installed" run [ -d .flowershow/node_modules ] assert_success diff --git a/packages/cli/src/lib/Installer.ts b/packages/cli/src/lib/Installer.ts index b4b189d3d..5aab9a4c2 100644 --- a/packages/cli/src/lib/Installer.ts +++ b/packages/cli/src/lib/Installer.ts @@ -158,7 +158,7 @@ export default class Installer { ); } - // if there is a config.js file from older flowershow, change it's extension. + // if there is a config.js file from older flowershow, change its extension. if (fs.existsSync(`${contentPath}/config.js`)) { fs.rename( `${contentPath}/config.js`, @@ -234,7 +234,7 @@ export default class Installer { log(stdout); log(stderr); stopSpinner(); - success("Successfuly installed Flowershow!"); + success("Successfully installed Flowershow!"); } catch (err) { error(`Failed to install Flowershow dependencies: ${err.message}`); exit(err.exitCode);