You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a json file with values other than String
{
"boolValue": false
}
Run any command with --dart-define-from-file created.json
Actual results
type 'bool' is not a subtype of type 'String' in type cast
Logs
Logs
type 'bool' is not a subtype of type 'String' in type cast
#0 new LinkedHashMap.from.<anonymous closure> (dart:collection/linked_hash_map.dart:187:26)
#1 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633:13)
#2 new LinkedHashMap.from (dart:collection/linked_hash_map.dart:186:11)
#3 mergeKeys (package:patrol_cli/src/commands/dart_define_utils.dart:8:20)
#4 mergeDartDefines (package:patrol_cli/src/commands/dart_define_utils.dart:27:10)
#5 TestCommand.run (package:patrol_cli/src/commands/test.dart:186:31)
<asynchronous suspension>
#6 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#7 PatrolCommandRunner.runCommand (package:patrol_cli/src/runner/patrol_command_runner.dart:348:18)
<asynchronous suspension>
#8 PatrolCommandRunner.run (package:patrol_cli/src/runner/patrol_command_runner.dart:292:18)
<asynchronous suspension>
#9 patrolCommandRunner (package:patrol_cli/src/runner/patrol_command_runner.dart:70:20)
<asynchronous suspension>
Patrol version
patrol: ^3.7.1
Patrol Doctor output
Patrol Doctor output
Patrol doctor:
Patrol CLI version: 2.8.0
Flutter command: flutter
Flutter 3.19.6 • channel stable
Android:
• Program adb found in /Users/nikitadol/Library/Android/sdk/platform-tools/adb
• Env var $ANDROID_HOME set to /Users/nikitadol/Library/Android/sdk
iOS / macOS:
• Program xcodebuild found in /usr/bin/xcodebuild
• Program ideviceinstaller found in /opt/homebrew/bin/ideviceinstaller
Flutter Doctor output
Flutter Doctor output
<!-- Replace this line with your logs. Do not remove the backticks! -->
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.
Steps to reproduce
--dart-define-from-file created.json
Actual results
Logs
Logs
Patrol version
patrol: ^3.7.1
Patrol Doctor output
Patrol Doctor output
Flutter Doctor output
Flutter Doctor output
The text was updated successfully, but these errors were encountered: