Skip to content

Commit 11db903

Browse files
committed
Don't assign currentdirectoryuri to test
1 parent 61cb8a4 commit 11db903

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dwds/lib/src/utilities/dart_uri.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,13 @@ class DartUri {
170170
/// directory of the tests is actually the main dwds directory.
171171
static String get currentDirectory => _currentDirectory;
172172

173+
// TODO(srujzs): This is temporary to debug test failures and avoid analysis
174+
// issues. Remove.
175+
static bool tmp = false;
176+
173177
static set currentDirectory(String newDir) {
174178
_currentDirectory = newDir;
175-
_currentDirectoryUri = '${p.toUri(newDir)}';
179+
if (tmp) _currentDirectoryUri = '${p.toUri(newDir)}';
176180
}
177181

178182
static String _currentDirectoryUri = '${p.toUri(currentDirectory)}';

0 commit comments

Comments
 (0)