[tools] Rename dev_finder to device-finder. (#48610)

dev_finder name is deprecated. device-finder is preferred.
Functionality remains identical, this is an aesthetic change.

This change was generated via:
$ find . -not -path '*/\.*' -type f -exec sed -i 's/(^import.*)!dev_finder/device-finder/g' {} \;
This commit is contained in:
Andrew Davies
2020-01-14 09:41:16 -08:00
committed by Zachary Anderson
parent 29490887e0
commit 52e0d980cb
6 changed files with 17 additions and 17 deletions

View File

@@ -13,7 +13,7 @@
# The first and only parameter should be the path to the Fuchsia system image
# tarball, e.g. `./run_fuchsia_tests.sh generic-x64.tgz`.
#
# This script expects `pm`, `dev_finder`, and `fuchsia_ctl` to all be in the
# This script expects `pm`, `device-finder`, and `fuchsia_ctl` to all be in the
# same directory as the script.
set -Ee

View File

@@ -223,9 +223,9 @@ class FuchsiaDeviceDiscovery implements DeviceDiscovery {
FuchsiaDevice _workingDevice;
String get _devFinder {
final String devFinder = path.join(getArtifactPath(), 'fuchsia', 'tools', 'dev_finder');
final String devFinder = path.join(getArtifactPath(), 'fuchsia', 'tools', 'device-finder');
if (!File(devFinder).existsSync()) {
throw FileSystemException('Couldn\'t find dev_finder at location $devFinder');
throw FileSystemException('Couldn\'t find device-finder at location $devFinder');
}
return devFinder;
}