mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
log path in windows
This commit is contained in:
parent
0f566418cc
commit
7141d95cd6
1 changed files with 2 additions and 0 deletions
|
@ -40,9 +40,11 @@ String? _resolveLibUri(String name) {
|
|||
}
|
||||
|
||||
// If lib is in Present Working Directory's '.dart_tool/libgit2/[platform]' folder.
|
||||
final logger = Logger.standard();
|
||||
libUri = Directory.current.uri.resolve(
|
||||
path.join(libDir, Platform.operatingSystem, name),
|
||||
);
|
||||
logger.stdout('$libUri');
|
||||
if (_doesFileExist(libUri)) {
|
||||
return libUri.toFilePath(windows: Platform.isWindows);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue