From 94f1b337f7a7d0ed59869c717fc67ce0968fd36e Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Fri, 10 Jan 2025 11:01:58 +0000 Subject: [PATCH] style: apply stylua formatter --- scripts/generate_invalid_version_zip.luau | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/generate_invalid_version_zip.luau b/scripts/generate_invalid_version_zip.luau index 22f8a55..4fe4a53 100644 --- a/scripts/generate_invalid_version_zip.luau +++ b/scripts/generate_invalid_version_zip.luau @@ -1,6 +1,6 @@ -local fs = require("@lune/fs") -local stdio = require("@lune/stdio") -local process = require("@lune/process") +local fs = require("@lune/fs") +local stdio = require("@lune/stdio") +local process = require("@lune/process") -- stylua: ignore local function createZip(version: number): buffer @@ -72,9 +72,9 @@ local function createZip(version: number): buffer buffer.copy(result, 0, data, 0, pos) return result end - --- Write the invalid ZIP file -local versionNum = assert(tonumber(process.args[1] or stdio.prompt("text", "Version number:"))) -local zip = createZip(versionNum) -fs.writeFile("tests/data/invalid_version.zip", zip) -print(`Generated invalid_version.zip with version requirement {versionNum // 10}.{versionNum % 10}`) + +-- Write the invalid ZIP file +local versionNum = assert(tonumber(process.args[1] or stdio.prompt("text", "Version number:"))) +local zip = createZip(versionNum) +fs.writeFile("tests/data/invalid_version.zip", zip) +print(`Generated invalid_version.zip with version requirement {versionNum // 10}.{versionNum % 10}`)