Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard coded path to a specific user dir #48355

Closed
mit-mit opened this issue Feb 9, 2022 · 0 comments
Closed

Hard coded path to a specific user dir #48355

mit-mit opened this issue Feb 9, 2022 · 0 comments
Assignees
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P4

Comments

@mit-mit
Copy link
Member

mit-mit commented Feb 9, 2022

How does this even work?
https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/test/stress/replay/replay.dart

  /// Run `pub` on the pubspec with the given [filePath].
  void _runPub(String filePath) {
    var directoryPath = path.dirname(filePath);
    if (Directory(directoryPath).existsSync()) {
      Process.runSync(
          '/Users/brianwilkerson/Dev/dart/dart-sdk/bin/pub', ['get'],
          workingDirectory: directoryPath);
    }
  }
@lrhn lrhn added the area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. label Feb 9, 2022
@scheglov scheglov added the P4 label Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P4
Projects
None yet
Development

No branches or pull requests

4 participants