From 4f487be6eca7984fbb649015ae381cec1f6ffa72 Mon Sep 17 00:00:00 2001 From: marked Date: Sun, 2 Mar 2025 18:54:40 +0100 Subject: [PATCH] Fix thing I broke --- src/init.luau | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/init.luau b/src/init.luau index dd11480..299242a 100644 --- a/src/init.luau +++ b/src/init.luau @@ -55,14 +55,14 @@ elseif parsed.command == "release" then scopes.wally = values["wally-scope"] end - local metadata = fs.metadata(values.to) + local metadata = fs.metadata(values.from) if not metadata.exists or metadata.kind ~= "dir" then - error(`The path {values.to} doesn't exist or isn't a valid directory.`) + error(`The path {values.from} doesn't exist or isn't a valid directory.`) end local fpath = process.cwd - if values.to ~= process.cwd then - fpath ..= values.to + if values.from ~= process.cwd then + fpath ..= values.from end if flags.dry then