## Lesson — Use path.relative(process.cwd(),

**Tags:** style, curated
**Engine:** ast-grep
**Severity:** warning
**Scope:** **/*.ts, **/*.js
**Pattern:** `$OBJ.replace(process.cwd(), $REPLACEMENT)`

Use path.relative(process.cwd().
