Skip to content

Commit a5b769e

Browse files
committed
Describe how the temporary directory is choosen
1 parent 03030da commit a5b769e

File tree

1 file changed

+3
-1
lines changed
  • web/client/codechecker_client/cli

1 file changed

+3
-1
lines changed

web/client/codechecker_client/cli/store.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,9 +921,11 @@ def main(args):
921921
port,
922922
product_name=product_name)
923923

924+
# If the --temp_dir argument is specified set use that,
925+
# else use the analyze result folder
924926
temp_dir_path: str = args.temp_dir if args.temp_dir else args.input[0]
925927
if not os.access(temp_dir_path, os.W_OK):
926-
# Folder not writeable fallback to /tmp/
928+
# If the specified folder isn't writeable fallback to /tmp/
927929
LOG.debug("'%s' is readonly, falling back to /tmp", temp_dir_path)
928930
temp_dir_path = "/tmp"
929931
try:

0 commit comments

Comments
 (0)