forked from qt-creator/qt-creator
Docker: Don't try to mount empty folder
Change-Id: I90479d21dd29a291e7d391464efaf40d6a50b662 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -805,6 +805,9 @@ bool DockerDevice::handlesFile(const FilePath &filePath) const
|
||||
|
||||
bool DockerDevice::ensureReachable(const FilePath &other) const
|
||||
{
|
||||
if (other.isEmpty())
|
||||
return false;
|
||||
|
||||
if (other.isSameDevice(rootPath()))
|
||||
return true;
|
||||
|
||||
|
Reference in New Issue
Block a user