Skip to content

Commit

Permalink
fix init script
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Mar 14, 2024
1 parent c8497c5 commit b39af86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Go to the `v1` branch to see the changelog of Lume 1.
- UnoCSS plugin: the async process of adding `<style>` elements is not awaited [#578].
- Updated dependencies: `std`, `terser`, `cms`, `postcss`, `react` types, `unocss`, `vento`, `date-fns`, `sass`, `terser`.
- Replace Sharp with `svg2png` as the library to convert svg to png.
- Init script creates always the `_cms.ts` file.

## [2.1.1] - 2024-03-01
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ async function getCms(configPath: string): Promise<string | false> {
hint: "More info at https://lume.land/cms/",
});

if (!useCms) {
if (useCms === "no") {
return false;
}

Expand Down

0 comments on commit b39af86

Please sign in to comment.