validate:tools: Create the rendering directory if it does not exist
This commit is contained in:
parent
8697dd3da4
commit
0b3b456f6a
@ -80,6 +80,8 @@ def main():
|
||||
options.xunit_file = os.path.join(options.logsdir, "xunit.xml")
|
||||
if options.dest is None:
|
||||
options.dest = os.path.join(options.logsdir, "rendered")
|
||||
if not os.path.exists(options.dest):
|
||||
os.makedirs(options.dest)
|
||||
if urlparse.urlparse(options.dest).scheme == "":
|
||||
options.dest = path2url(options.dest)
|
||||
if options.no_color:
|
||||
|
Loading…
x
Reference in New Issue
Block a user