Skip to content

The ci/format -f is broken in flutter engine repo #107920

@luckysmg

Description

@luckysmg

The Flutter Engine ci/format.sh -f is broken...........

Reproduce:

cd path/to/engine/src/flutter and run ci/format.sh -f

Raise error:....

ERROR: 2 patches failed to apply.
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/shell/platform/darwin/ios/framework/Source/FlutterPlatformPlugin.mm b/-
|index 3dcac5b5de..0000000000 100644
|--- a/shell/platform/darwin/ios/framework/Source/FlutterPlatformPlugin.mm
|+++ b/-
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored

can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/shell/platform/darwin/ios/framework/Source/FlutterTextInputPluginTest.mm b/-
|index 2a09f50e04..0000000000 100644
|--- a/shell/platform/darwin/ios/framework/Source/FlutterTextInputPluginTest.mm
|+++ b/-
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored

Unable to apply C++/ObjC format fixes. <<<-------
Fixing any GN format problems
Fixing GN formatting...

Metadata

Metadata

Assignees

No one assigned

    Labels

    team-infraOwned by Infrastructure team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions