Skip to content

Commit

Permalink
chore: Satisfy CI linting check
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Jul 7, 2024
1 parent e8138ee commit 0992685
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ambuild2/frontend/v2_2/context_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,13 @@ def computeScriptPaths(self, parent, target):
else:
sourceFolder = ''
buildFolder = ''

if os.path.isabs(target):
full_script_path = target
else:
full_script_path = os.path.join(sourceFolder, name)

return sourceFolder, buildFolder, target if os.path.isabs(target) else os.path.join(sourceFolder, name)
return sourceFolder, buildFolder, full_script_path

def getLocalFolder(self, context):
return context.buildFolder
Expand Down

0 comments on commit 0992685

Please sign in to comment.