aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-12 18:00:50 -0500
committerCraig Jennings <c@cjennings.net>2026-05-12 18:00:50 -0500
commit8e4134c9a82ea32391531d0a666d4ab8658ebc22 (patch)
treee1ce92e031aebe6bc49f45c42e62cdb548fe226d /tests
parent229df4ba9bd53254c8473207c5661730bb086fcf (diff)
downloaddotemacs-8e4134c9a82ea32391531d0a666d4ab8658ebc22.tar.gz
dotemacs-8e4134c9a82ea32391531d0a666d4ab8658ebc22.zip
refactor(prog-webdev): extract the prettier format-command builder
I pulled the prettier command-string construction out of `cj/webdev-format-buffer` into `cj/--webdev-format-command`. The wrapper stays thin: resolve `(or buffer-file-name "file.ts")`, hand the command to `shell-command-on-region`, clamp point. With the command shape in a pure helper I can unit-test it directly.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions