cli arg order
This commit is contained in:
		| @@ -45,10 +45,10 @@ const handler = async ({payload}: FirRouteInput<typeof payloadT>) => { | ||||
| 	}); | ||||
| 	console.log("cloned"); | ||||
| 	console.log("read local manifest"); | ||||
| 	await execa(picoBinPath, ["-export", path.join(repoPath, "result.html"), path.join(repoPath, manifest.main)]); | ||||
| 	await execa(picoBinPath, ["-export", path.join(repoPath, "result.png"), path.join(repoPath, manifest.main)]); | ||||
| 	await execa(picoBinPath, [path.join(repoPath, manifest.main), "-export", path.join(repoPath, "result.js")]); | ||||
| 	await execa(picoBinPath, [path.join(repoPath, manifest.main), "-export", path.join(repoPath, "result.png")]); | ||||
| 	const js = await fs.promises.readFile(path.join(repoPath, "result.js"), "utf8"); | ||||
| 	const png = new Buffer(await fs.promises.readFile(path.join(repoPath, "result.png"))).toString("base64"); | ||||
| 	const png = Buffer.from(await fs.promises.readFile(path.join(repoPath, "result.png"))).toString("base64"); | ||||
| 	fs.promises.rm(repoPath, {recursive: true, force: true}); | ||||
| 	console.log({ | ||||
| 		manifest, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 dylan
					dylan