Skip to content

Commit

Permalink
Fix update and init
Browse files Browse the repository at this point in the history
  • Loading branch information
WarningImHack3r committed Mar 16, 2024
1 parent 3ed13be commit 9a99c32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export const update = new Command()
files.map((file) => chalk.white(`- ${path.relative(cwd, file)}`)).join("\n")
);
}
if (Object.keys(componentsToRemove)) {
if (Object.keys(componentsToRemove).length > 0) {
logger.warn("\nYou may want to remove them.");
}
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/utils/get-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { resolveImport } from "./resolve-imports";

export const DEFAULT_STYLE = "default";
export const DEFAULT_COMPONENTS = "$lib/components";
export const DEFAULT_UTILS = "$lib/utils.js";
export const DEFAULT_UTILS = "$lib/utils";
export const DEFAULT_TAILWIND_CSS = "src/app.pcss";
export const DEFAULT_TAILWIND_CONFIG = "tailwind.config.cjs";
export const DEFAULT_TAILWIND_BASE_COLOR = "slate";
Expand Down

0 comments on commit 9a99c32

Please sign in to comment.