Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

validate: the relative-link check is case-insensitive on Windows and macOS, so a wrong-case link passes locally and fails in CI

Cerrado
#139 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
57/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, node.js
Área
testing, tooling

Línea de trabajo

Start with site/validate.mjs:185-189 and site/build.mjs:337-341, where the issue identifies the case-insensitive filesystem checks. Read how the relative-link resolver uses kindOf, then run npm run validate with a fixture link whose case differs from the on-disk path. Done means validation on Windows reports the wrong-case link with the same message as CI on Linux.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

dx priority: low

Why it matters

The maintainer develops on Windows. A link such as ../Docs/Licence-Guide.md resolves with fs.existsSync on NTFS/APFS, npm run validate says "no broken links", and the first signal is a red check on the pushed commit, or a 404 on GitHub Pages, which is case-sensitive.

Evidence (at 69387df)

site/validate.mjs:185-189 resolves the link and only calls fs.existsSync(resolved), with no case comparison. The same applies to kindOf in site/build.mjs:337-341, used by the link resolver.

Suggested approach

After existsSync, compare path.basename(fs.realpathSync.native(resolved)) with path.basename(resolved) (and the parent directory name) and report "broken link (case differs on disk: ...)" when they differ. Share the helper with build's kindOf.

Done when

A fixture link with the wrong case fails npm run validate on Windows with the same message CI gives on Linux.

Lenguaje dominante
JavaScript
Estrellas
58
Forks
15
Merge medio
16 h 53 min
PR fusionados (30 d)
14

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de TMHSDigital/Free-Game-Dev-Assets

Todos los issues de TMHSDigital/Free-Game-Dev-Assets

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.