Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$print and $warn not respecting configuration #16

Open
Quantify-RBLX opened this issue Oct 2, 2023 · 0 comments
Open

$print and $warn not respecting configuration #16

Quantify-RBLX opened this issue Oct 2, 2023 · 0 comments

Comments

@Quantify-RBLX
Copy link

$print and $warn do not respect configuration, despite being documented as doing so.

With "enabled": false,

import { $dbg, $print, $warn } from "rbxts-transform-debug";

$print("hi");
$warn("hi");
$dbg("hi");

compiles to

-- Compiled with roblox-ts v2.2.0
print("[src/shared/test.ts:3]", "hi")
warn("[src/shared/test.ts:4]", "hi")
local _ = nil
local _1 = nil
return nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant