Allow tsfmt
to use the local project's config.
By adding `--baseDir=.` to the command line arguments.
This commit is contained in:
parent
9f57a0da63
commit
5eac955cd3
|
@ -89,7 +89,7 @@
|
|||
(progn
|
||||
(with-current-buffer outputbuf (erase-buffer))
|
||||
(write-region nil nil tmpfile)
|
||||
(if (zerop (apply 'call-process "tsfmt" nil outputbuf nil (list tmpfile)))
|
||||
(if (zerop (apply 'call-process "tsfmt" nil outputbuf nil (list "--baseDir=." tmpfile)))
|
||||
(let ((p (point)))
|
||||
(save-excursion
|
||||
(with-current-buffer (current-buffer)
|
||||
|
|
Loading…
Reference in a new issue