From 7466131f047d92b7f05925b1662793145cd693bf Mon Sep 17 00:00:00 2001 From: daimond113 <72147841+daimond113@users.noreply.github.com> Date: Fri, 13 Dec 2024 17:06:47 +0100 Subject: [PATCH] fix: link with types without roblox_sync_config_generator script --- CHANGELOG.md | 4 ++++ src/linking/mod.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b21e10..0745be4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] +### Fixed +- Add Roblox types in linker modules even with no config generator script by @daimond113 + ## [0.5.0-rc.18] - 2024-12-12 ### Fixed - Correctly resolve URLs in `publish` command by @daimond113 diff --git a/src/linking/mod.rs b/src/linking/mod.rs index cf38183..29242de 100644 --- a/src/linking/mod.rs +++ b/src/linking/mod.rs @@ -123,7 +123,7 @@ impl Project { { let Some(script_path) = roblox_sync_config_gen_script else { log::warn!("not having a `{}` script in the manifest might cause issues with Roblox linking", ScriptName::RobloxSyncConfigGenerator); - return Ok((version_id, vec![])); + return Ok((version_id, types)); }; execute_script(