Skip to content

Conversation

@aaronlademann-wf
Copy link
Contributor

@aaronlademann-wf aaronlademann-wf commented Jun 5, 2019

Problem

A RTE is encountered by consumers when utilizing dart_dev's TaskProcess in Dart 2.

List<dynamic> is not a valid subtype of List<String>

This is thrown as a result of the args generated within _getChildPids being passed to the TaskProcess constructor.

Solution

6900490

Boy Scoutin'

  1. 915cce5 Update .gitignore to include the .dart_tool directory

@evanweible-wf @corwinsheahan-wf @greglittlefield-wf

List<dynamic> is not a valid subtype of List<String> was being thrown when the `args` generated within `_getChildPids` was passed to the `TaskProcess` constructor.
@aviary3-wk
Copy link

Security Insights

No security relevant content was detected by automated scans.

Action Items

  • Review PR for security impact; comment "security review required" if needed or unsure
  • Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

@aaronlademann-wf aaronlademann-wf changed the title Fix Dart2 RTE CPLAT-6014 Fix Dart2 RTE Jun 5, 2019
Copy link
Contributor

@greglittlefield-wf greglittlefield-wf left a comment

Choose a reason for hiding this comment

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

+1

Not sure if the build failure is related to these changes, so I'm rerunning Travis.

String executable = 'pgrep';
List<TaskProcess> pgreps = [];
var args = [];
List<String> args = [];
Copy link
Contributor

Choose a reason for hiding this comment

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

fyi the other option here would be var/final args = <String>[];

@evanweible-wf
Copy link
Contributor

QA +1

  • CI passes

@Workiva/release-management-p

@rmconsole7-wk rmconsole7-wk merged commit 9cb1ff6 into master Jun 11, 2019
@rmconsole7-wk rmconsole7-wk deleted the fix-dart2-rte branch June 11, 2019 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants