Skip to content

Commit

Permalink
fix: remove "runtime" wording in log message
Browse files Browse the repository at this point in the history
We're not calling it a "runtime" anymore.

Plus this was super leaky anyway, assuming that any auto-installed build plugin is a "runtime".
  • Loading branch information
serhalp committed Oct 23, 2024
1 parent 3e7deff commit 00893cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/init/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const formatTitle = (title: string) => chalk.cyan(title)
* @returns
*/
export const getPluginsToAutoInstall = (
command: BaseCommand,
_command: BaseCommand,
pluginsInstalled: string[] = [],
pluginsRecommended: string[] = [],
) => {
Expand Down Expand Up @@ -100,10 +100,10 @@ export const getBuildSettings = async ({ command, config }: { command: BaseComma
// eslint-disable-next-line unicorn/explicit-length-check
const setting: Partial<Settings> = settings.length > 0 ? settings[0] : {}
const { defaultBaseDir, defaultBuildCmd, defaultBuildDir, defaultFunctionsDir, recommendedPlugins } =
await normalizeSettings(setting, config, command)
normalizeSettings(setting, config, command)

if (recommendedPlugins.length !== 0 && setting.framework?.name) {
log(`Configuring ${formatTitle(setting.framework.name)} runtime...`)
log(`Configuring ${formatTitle(setting.framework.name)}...`)
log()
}

Expand Down

0 comments on commit 00893cf

Please sign in to comment.