Bump deps on package:file and package:process (#8097)
This commit is contained in:
@@ -199,7 +199,7 @@ void _traceCommand(List<String> args, { String workingDirectory }) {
|
||||
if (workingDirectory == null)
|
||||
printTrace(argsText);
|
||||
else
|
||||
printTrace("[$workingDirectory${fs.pathSeparator}] $argsText");
|
||||
printTrace("[$workingDirectory${fs.path.separator}] $argsText");
|
||||
}
|
||||
|
||||
String _runWithLoggingSync(List<String> cmd, {
|
||||
|
||||
@@ -87,7 +87,7 @@ String getElapsedAsMilliseconds(Duration duration) => '${duration.inMilliseconds
|
||||
/// Return a relative path if [fullPath] is contained by the cwd, else return an
|
||||
/// absolute path.
|
||||
String getDisplayPath(String fullPath) {
|
||||
String cwd = fs.currentDirectory.path + fs.pathSeparator;
|
||||
String cwd = fs.currentDirectory.path + fs.path.separator;
|
||||
return fullPath.startsWith(cwd) ? fullPath.substring(cwd.length) : fullPath;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user