We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12156a5 commit 89345e9Copy full SHA for 89345e9
lib/src/backends/chroot/chroot_file_system.dart
@@ -121,7 +121,7 @@ class ChrootFileSystem extends FileSystem {
121
assert(() {
122
p.Context ctx = delegate.path;
123
return ctx.isAbsolute(value) && value == ctx.canonicalize(value);
124
- });
+ }());
125
_cwd = value;
126
}
127
@@ -232,7 +232,7 @@ class ChrootFileSystem extends FileSystem {
232
if (resolve) {
233
localPath = _resolve(localPath, followLinks: followLinks);
234
} else {
235
- assert(() => path.isAbsolute(localPath));
+ assert(path.isAbsolute(localPath));
236
237
return '$root$localPath';
238
0 commit comments