personality: Use template literal

Amolith created

Replace string concatenation with a template literal to satisfy the
biome useTemplate lint rule.

Change summary

packages/personality/src/index.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

packages/personality/src/index.ts 🔗

@@ -69,7 +69,7 @@ function readActivePersonality(): string | null {
 function writeActivePersonality(name: string | null): void {
 	const filePath = getActivePersonalityPath();
 	if (name) {
-		fs.writeFileSync(filePath, name + "\n", "utf-8");
+		fs.writeFileSync(filePath, `${name}\n`, "utf-8");
 	} else if (fs.existsSync(filePath)) {
 		fs.unlinkSync(filePath);
 	}