[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dart-mode c11d02a 137/192: Remedy invalid file path format
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dart-mode c11d02a 137/192: Remedy invalid file path format |
Date: |
Sun, 29 Aug 2021 11:02:05 -0400 (EDT) |
branch: elpa/dart-mode
commit c11d02ab6a912abb675b0b7e331aca883ffbae30
Author: dickmao <rchiang@cs.stonybrook.edu>
Commit: Brady Trainor <mail@bradyt.com>
Remedy invalid file path format
Fixes issue #64. Rebased author's solution onto commit with failing
test.
---
dart-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dart-mode.el b/dart-mode.el
index a44808b..474a43d 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -910,8 +910,8 @@ otherwise. If no FILE is given, then this will default to
the variable
(pub-root (locate-dominating-file file-to-add "pubspec.yaml"))
(current-dir (file-name-directory file-to-add)))
(if pub-root
- (dart-add-to-analysis-roots (expand-file-name pub-root))
- (dart-add-to-analysis-roots (expand-file-name current-dir)))))
+ (dart-add-to-analysis-roots (directory-file-name (expand-file-name
pub-root)))
+ (dart-add-to-analysis-roots (directory-file-name (expand-file-name
current-dir))))))
(defun dart-add-to-analysis-roots (dir)
"Add DIR to the analysis server's analysis roots.
- [nongnu] elpa/dart-mode 93efb54 089/192: Update the version and URL and flesh out the README, (continued)
- [nongnu] elpa/dart-mode 93efb54 089/192: Update the version and URL and flesh out the README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode ecf3191 091/192: Add a command to show hover information, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 0cf32d5 092/192: Highlight hover descriptions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode c4a5045 096/192: Add support for navigation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode a1f36f4 094/192: Allow dart-show-hover to display in a new buffer, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 89a2d4e 100/192: Add a special mode for popups, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode eca3f15 105/192: Add the ability to autocomplete parameters, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode d333a73 102/192: Add an analyzer-based auto-complete, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode d507fa1 101/192: Add a binding to re-run searches, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode a2ab55b 114/192: Make more thorough use of dash, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode c11d02a 137/192: Remedy invalid file path format,
ELPA Syncer <=
- [nongnu] elpa/dart-mode 8f972c0 097/192: Add support for finding references, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 848f983 104/192: Show docs for expansions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 6bc08f7 136/192: Adds failing test against dart dev, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 9c9a63e 130/192: Fix dart-format, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 1f27d03 119/192: Properly set up font-lock variables, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 6397b3d 115/192: Clean up the way the SDK is configured, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode e9cd33d 109/192: Use proper private name convention, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode a087c75 099/192: Add a result counter in search results, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 847707d 129/192: Require final newline, like dartfmt, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 570e58c 116/192: Refactor formatter support, ELPA Syncer, 2021/08/29