Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
/pluginsPublic archive

[flutter_plugin_tool] Move branch-switching logic from tool_runner.sh to tool#4268

Merged
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Add a comment about splitting
  • Loading branch information
@stuartmorgan-g
stuartmorgan-g committedAug 31, 2021
commitbcd156132feb4a82c1d9c308529c427f5d499a4e
4 changes: 3 additions & 1 deletionscript/tool/lib/src/common/plugin_command.dart
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -419,10 +419,12 @@ abstract class PluginCommand extends Command<void> {
}

// Returns packages that have been changed given a list of changed files.
//
// The paths must use POSIX separators (e.g., as provided by git output).
Set<String> _getChangedPackages(List<String> changedFiles) {
final Set<String> packages = <String>{};
for (final String path in changedFiles) {
final List<String> pathComponents =path.split('/');
final List<String> pathComponents =p.posix.split(path);
final int packagesIndex =
pathComponents.indexWhere((String element) => element == 'packages');
if (packagesIndex != -1) {
Expand Down

[8]ページ先頭

©2009-2026 Movatter.jp