Sorted out sysout filename problem.
This commit is contained in:
		
							parent
							
								
									46f75a0c4f
								
							
						
					
					
						commit
						269d31df13
					
				
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							|  | @ -14,4 +14,5 @@ pom.xml.asc | ||||||
| *~ | *~ | ||||||
| .calva/ | .calva/ | ||||||
| .clj-kondo/ | .clj-kondo/ | ||||||
| .lsp/ | .lsp/ | ||||||
|  | resources/scratch.lsp | ||||||
|  |  | ||||||
|  | @ -28,12 +28,13 @@ | ||||||
|      (str (:filepath *options*) (java.io.File/separator)) |      (str (:filepath *options*) (java.io.File/separator)) | ||||||
|      "") |      "") | ||||||
|    (if (and (string? fp) |    (if (and (string? fp) | ||||||
|             (> (count fp) 0)) |             (> (count fp) 0) | ||||||
|  |             (not= fp "NIL")) | ||||||
|      fp |      fp | ||||||
|      (str "Sysout-" (local-date))) |      (str "Sysout-" (local-date))) | ||||||
|    (if (ends-with? fp ".lsp") |    (if (ends-with? fp ".lsp") | ||||||
|      fp |      "" | ||||||
|      (str fp ".lsp")))) |      ".lsp"))) | ||||||
| 
 | 
 | ||||||
| (defn SYSOUT | (defn SYSOUT | ||||||
|   "Dump the current content of the object list to file. If no `filepath` is |   "Dump the current content of the object list to file. If no `filepath` is | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue