Fixed editor log path and improved editor log not found error string (#5357)
* Fixed editor log path and improved editor log not found error string * Renamed any lowercase editor.log to Editor.log * Fix unit test failures Signed-off-by: AMZN-AlexOteiza <aljanru@amazon.co.uk> Co-authored-by: aljanru <aljanru@uc5564ff5a5ee55.ant.amazon.com>
This commit is contained in:
@@ -378,7 +378,7 @@ class AbstractResourceLocator(object):
|
||||
def editor_log(self):
|
||||
"""
|
||||
Return path to the project's editor log dir using the builds project and platform
|
||||
:return: path to editor.log
|
||||
:return: path to Editor.log
|
||||
"""
|
||||
raise NotImplementedError(
|
||||
"editor_log() is not implemented on the base AbstractResourceLocator() class. "
|
||||
|
||||
@@ -49,9 +49,9 @@ class _LinuxResourceManager(AbstractResourceLocator):
|
||||
|
||||
def editor_log(self):
|
||||
"""
|
||||
:return: path to editor.log
|
||||
:return: path to Editor.log
|
||||
"""
|
||||
return os.path.join(self.project_log(), "editor.log")
|
||||
return os.path.join(self.project_log(), "Editor.log")
|
||||
|
||||
|
||||
class LinuxWorkspaceManager(AbstractWorkspaceManager):
|
||||
|
||||
@@ -58,9 +58,9 @@ class _MacResourceLocator(AbstractResourceLocator):
|
||||
def editor_log(self):
|
||||
"""
|
||||
Return path to the project's editor log dir using the builds project and platform
|
||||
:return: path to editor.log
|
||||
:return: path to Editor.log
|
||||
"""
|
||||
return os.path.join(self.project_log(), "editor.log")
|
||||
return os.path.join(self.project_log(), "Editor.log")
|
||||
|
||||
|
||||
class MacWorkspaceManager(AbstractWorkspaceManager):
|
||||
|
||||
@@ -64,9 +64,9 @@ class _WindowsResourceLocator(AbstractResourceLocator):
|
||||
def editor_log(self):
|
||||
"""
|
||||
Return path to the project's editor log dir using the builds project and platform
|
||||
:return: path to editor.log
|
||||
:return: path to Editor.log
|
||||
"""
|
||||
return os.path.join(self.project_log(), "editor.log")
|
||||
return os.path.join(self.project_log(), "Editor.log")
|
||||
|
||||
|
||||
class WindowsWorkspaceManager(AbstractWorkspaceManager):
|
||||
|
||||
Reference in New Issue
Block a user