From ff172b9b369fdfc9bc612a034b0dd2eea85362ff Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Tue, 27 Dec 2022 23:41:44 -0500 Subject: Fixed typo. --- src/lpm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lpm.lua b/src/lpm.lua index 3d4e849..6bc4c9e 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -448,7 +448,7 @@ function common.chdir(dir, callback) system.chdir(dir) local status, err = pcall(callback) system.chdir(wd) - if not status then error(err) + if not status then error(err) end end local HOME, USERDIR, CACHEDIR, JSON, VERBOSE, MOD_VERSION, QUIET, FORCE, AUTO_PULL_REMOTES, ARCH, ASSUME_YES, NO_INSTALL_OPTIONAL, TMPDIR, DATADIR, BINARY, POST, repositories, lite_xls, system_bottle -- cgit v1.2.3