mirror of
https://github.com/platformio/platformio-core.git
synced 2025-08-01 02:54:25 +02:00
Show current working directory, not a path to platformio.ini
This commit is contained in:
@@ -347,7 +347,7 @@ class ProjectConfigBase(object):
|
||||
|
||||
def validate(self, envs=None, silent=False):
|
||||
if not os.path.isfile(self.path):
|
||||
raise exception.NotPlatformIOProjectError(self.path)
|
||||
raise exception.NotPlatformIOProjectError(os.path.dirname(self.path))
|
||||
# check envs
|
||||
known = set(self.envs())
|
||||
if not known:
|
||||
|
Reference in New Issue
Block a user