emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/dart-mode da244c6 144/192: Fixes no such file or directory


From: ELPA Syncer
Subject: [nongnu] elpa/dart-mode da244c6 144/192: Fixes no such file or directory, dartfmt.exe
Date: Sun, 29 Aug 2021 11:02:06 -0400 (EDT)

branch: elpa/dart-mode
commit da244c6b9ee2d97c4dfacb93c2ec5f54d35c27de
Author: Brady Trainor <mail@bradyt.com>
Commit: Brady Trainor <mail@bradyt.com>

    Fixes no such file or directory, dartfmt.exe
    
    Rather than dartfmt.exe, code should look for dartfmt.bat.
    
    But in fact, dart-format works fine if we omit the extension. The
    conditional for Windows is removed.
---
 dart-mode.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dart-mode.el b/dart-mode.el
index 82ddfc6..24ac79d 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -1730,9 +1730,7 @@ This can be customized by setting 
`dart-formatter-command-override'."
       (when dart-sdk-path
         (concat dart-sdk-path
                 (file-name-as-directory "bin")
-                (if (memq system-type '(ms-dos windows-nt))
-                    "dartfmt.exe"
-                  "dartfmt")))))
+                "dartfmt"))))
 
 (defvar dart--formatter-compilation-regexp
   '("^line \\([0-9]+\\), column \\([0-9]+\\) of \\([^ \n]+\\):" 3 1 2)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]