Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
ImportFileResolver.resolve_file
should verify if the resolved path is a file.
ucx/src/databricks/labs/ucx/source_code/files.py
Lines 163 to 168 in 34b3d86
Currently, if a directory is passed to the FileResolver
it is resolved successfully.
Expected Behavior
A directory should not be resolved successfully by ImportFileResolver.resolve_file
Steps To Reproduce
No response
Cloud
AWS
Operating System
macOS
Version
latest via Databricks CLI
Relevant log output
Metadata
Metadata
Assignees
Type
Projects
Status