Skip to content

Run format before format:check in fedify init's hydration test validation #950

Description

@Palcimer

When running mise run test:init for fedify init, the hydration test only runs format:check (and lint) without running format first. When the package manager is npm or pnpm, format:check fails, which causes the entire test suite to fail.

Proposed Fix

Run format (auto-fix) before format:check in the hydration test validation, so that freshly scaffolded projects are already compliant with the formatter before being checked.

Metadata

Metadata

Assignees

Labels

Type

Fields

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions