8000 feat: post-conditions by manuel3108 · Pull Request #388 · svelte-add/svelte-add · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

feat: post-conditions #388

Merged
merged 8 commits into from
Jun 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
improve preconditions
  • Loading branch information
manuel3108 committed Jun 13, 2024
commit 17e96f9b78b25e39f2aff18262d23fe65e4fc7f3
10 changes: 5 additions & 5 deletions adders/bootstrap/config/checks.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ export const checks = defineAdderChecks({
{
name: "scss setup",
run: async ({ fileExists, fileContains }) => {
// if (options.useSass) {
// const filePath = `src/variables.scss`;
// await fileExists(filePath);
// await fileContains(filePath, "$background: lightgrey;");
// }
if (options.useSass) {
const filePath = `src/variables.scss`;
await fileExists(filePath);
await fileContains(filePath, "$background: lightgrey;");
}
},
},
],
Expand Down
0