Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrto21 committed Sep 14, 2021
1 parent 500c54e commit 62e338c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/messageport/lib/src/messageport_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class TizenMessagePortManager {
args['remoteAppId'] = remoteAppId;
args['portName'] = portName;
args['trusted'] = trusted;
final bool? status =
await _channel.invokeMethod<bool>('checkForRemote', args);
return status ?? false;
final bool status =
await _channel.invokeMethod<bool>('checkForRemote', args) as bool;
return status;
}

Future<void> send(RemotePort remotePort, dynamic message) async {
Expand Down
3 changes: 1 addition & 2 deletions tools/commands/analyze_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ def parse_args(args):


def _run_analyze_plugins(plugin_dir):
subprocess.run('flutter pub get', shell=True, cwd=plugin_dir)
completed_process = subprocess.run('flutter analyze', shell=True, cwd=plugin_dir)
completed_process = subprocess.run('flutter analyze --pub', shell=True, cwd=plugin_dir)
if completed_process.returncode == 0:
return True
else:
Expand Down

0 comments on commit 62e338c

Please sign in to comment.