mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 14:00:40 -10:00
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2193 The current CopyFileOnChange() method in Misc.py does not accept the input SrcFile parameter as a dir, but the method does not check the SrcFile is dir or not. This patch is to add more input parameter type checking and error message output for method CopyFileOnChange. Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> Signed-off-by: Steven Shi <[email protected]> Reviewed-by: Bob Feng <[email protected]>