From e7eaf9408acf054cd7768f55f6fb7762d9893278 Mon Sep 17 00:00:00 2001 From: Alex Hornby Date: Sun, 27 Oct 2024 04:42:48 -0700 Subject: [PATCH] getdeps: stop error with build --clean and --src-dir=. Summary: X-link: https://github.com/facebookincubator/zstrong/pull/1026 fix the error shown with build --clean and --src-dir=. Reviewed By: jdelliot Differential Revision: D64985193 fbshipit-source-id: f933adb45a7385b13965b89e421b4f9284cf0ecb --- build/fbcode_builder/getdeps/fetcher.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/fbcode_builder/getdeps/fetcher.py b/build/fbcode_builder/getdeps/fetcher.py index 30cff5b7d99..005b2494d63 100644 --- a/build/fbcode_builder/getdeps/fetcher.py +++ b/build/fbcode_builder/getdeps/fetcher.py @@ -155,6 +155,9 @@ def hash(self) -> str: def get_src_dir(self): return self.path + def clean(self) -> None: + pass + class SystemPackageFetcher(object): def __init__(self, build_options, packages) -> None: