[Webkit-unassigned] [Bug 240856] New: Style error when a file is renamed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 23 22:17:32 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240856

            Bug ID: 240856
           Summary: Style error when a file is renamed.
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jean-yves.avenard at apple.com

In a commit I renamed a file from Source/WebKit/Platform/IPC/SharedBufferCopy.cpp to Source/WebKit/Platform/IPC/SharedBufferReference.cpp

When I tried to push the PR I got:
```
ERROR: File does not exist: 'Source/WebKit/Platform/IPC/SharedBufferCopy.cpp'
Traceback (most recent call last):
  File "/Users/jyavenard/Work/webkit/OpenSource/Tools/Scripts/check-webkit-style", line 46, in <module>
    sys.exit(CheckWebKitStyle().main())
  File "/Users/jyavenard/Work/webkit/OpenSource/Tools/Scripts/webkitpy/style/main.py", line 159, in main
    patch_checker.check(patch)
  File "/Users/jyavenard/Work/webkit/OpenSource/Tools/Scripts/webkitpy/style/patchreader.py", line 86, in check
    self._text_file_reader.process_file(file_path=path, line_numbers=line_numbers)
  File "/Users/jyavenard/Work/webkit/OpenSource/Tools/Scripts/webkitpy/style/filereader.py", line 123, in process_file
    raise IOError("File does not exist")
OSError: File does not exist
style-checker failed, continue uploading pull request? (Yes/[No]): Yes
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220524/264f1e51/attachment.htm>


More information about the webkit-unassigned mailing list