Skip to content

Devicelab run.dart: Fixed check for path equality#41403

Merged
gaaclarke merged 2 commits intoflutter:masterfrom
gaaclarke:fix-run-dart-path-check
Sep 27, 2019
Merged

Devicelab run.dart: Fixed check for path equality#41403
gaaclarke merged 2 commits intoflutter:masterfrom
gaaclarke:fix-run-dart-path-check

Conversation

@gaaclarke
Copy link
Copy Markdown
Member

Description

Before this PR ../../bin/cache/dart-sdk/bin/dart bin/run.dart -s devicelab_ios -t ./bin/tasks/smoke_catalina_hot_mode_dev_cycle_ios__benchmark.dart would fail but ../../bin/cache/dart-sdk/bin/dart bin/run.dart -s devicelab_ios -t ./bin/tasks/smoke_catalina_hot_mode_dev_cycle_ios__benchmark.dart would work.

Related Issues

Tests

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require Flutter developers to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
  • No, this is not a breaking change.

@fluttergithubbot
Copy link
Copy Markdown
Contributor

It looks like this pull request may not have tests. Please make sure to add tests before merging. While there are exceptions to this rule, if this patch modifies code it is probably not an exception.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@fluttergithubbot fluttergithubbot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Sep 26, 2019
@gaaclarke gaaclarke changed the title Fixed check for path equality, it was to strict to disallow leading "./" Devicelab run.dart: Fixed check for path equality, it was to strict to disallow leading "./" Sep 26, 2019
@gaaclarke gaaclarke changed the title Devicelab run.dart: Fixed check for path equality, it was to strict to disallow leading "./" Devicelab run.dart: Fixed check for path equality Sep 26, 2019
Copy link
Copy Markdown
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Copy Markdown
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like you have analyzer warnings because now _listsEqual isn't used. but otherwise lgtm

@gaaclarke gaaclarke merged commit a66ea4f into flutter:master Sep 27, 2019
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Sep 30, 2019
Fixed check for path equality.  It was too strict, disallowing leading "./".
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

c: contributor-productivity Team-specific productivity, code health, technical debt.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants