Skip to content

Conversation

@jonahwilliams
Copy link
Contributor

Fixes #84270

SETLOCAL ENABLEDELAYEDEXPANSION is not needed in the entrypoint scripts, all of the "interesting" work was moved to shared.bat. Nevertheless, this causes problems when passing quoted values through the flutter or dart since they get expanded immediately because of this.

Remove the setting.

@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Jun 25, 2021
@google-cla google-cla bot added the cla: yes label Jun 25, 2021
final ProcessResult result = await processManager.run(<String>[
fileSystem.path.join(getFlutterRoot(), 'bin', 'dart'),
fileSystem.path.join(getFlutterRoot(), 'packages', 'flutter_tools', 'test', 'integration.shard', 'variable_expansion_windows.dart'),
'"^(?!Golden).+"',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

With SETLOCAL ENABLEDELAYEDEXPANSION the quotes are missing

@jonahwilliams jonahwilliams requested review from bkonyi and dnfield June 25, 2021 04:18
@broamiribnhawthorne62
Copy link

broamiribnhawthorne62 commented Jun 25, 2021 via email

@jonahwilliams
Copy link
Contributor Author

@ehawthorne821 I'm not really interested in any remodeling services thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flutter test --name not accepting lookahead syntax due to SETLOCAL ENABLEDELAYEDEXPANSION in batch entrypoint

4 participants