mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	nothing to convert message
This commit is contained in:
		| @@ -82,6 +82,10 @@ async function charaWrite(img_url, data, target_img, response = undefined, mes = | |||||||
|  |  | ||||||
| const p = process.argv[2] | const p = process.argv[2] | ||||||
| const files = fs.readdirSync(p).filter(e => e.endsWith(".webp")) | const files = fs.readdirSync(p).filter(e => e.endsWith(".webp")) | ||||||
|  | if (!files.length) { | ||||||
|  |     console.log("Nothing to convert.") | ||||||
|  |     process.exit(0) | ||||||
|  | } | ||||||
|  |  | ||||||
| const dst = p | const dst = p | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user