diff --git a/toolchainlib/src/init.luau b/toolchainlib/src/init.luau index 00b36fc..03f73fc 100644 --- a/toolchainlib/src/init.luau +++ b/toolchainlib/src/init.luau @@ -91,7 +91,7 @@ local LINK_INSTALL_DIR = (dirs.homeDir() or error("Couldn't get home dir :(")):j local TOOL_STORAGE_DIR = LINK_INSTALL_DIR:join(".tool_storage") local OLD_TOOL_STORAGE_DIR = LINK_INSTALL_DIR:join("tool_storage") -if pathfs.isFile(OLD_TOOL_STORAGE_DIR) then +if pathfs.isDir(OLD_TOOL_STORAGE_DIR) then pathfs.move(OLD_TOOL_STORAGE_DIR, TOOL_STORAGE_DIR) end