diff options
| author | Saikari <[email protected]> | 2026-02-02 11:44:25 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-02-02 11:44:25 +0300 |
| commit | 1f23a23c7ef92f0cc20e402abb4a510a3cb72f00 (patch) | |
| tree | fc0b76704b3c7b1d443ca04211c0ff3b29388a08 /xmake/plugins/lua | |
| parent | 586227cf172385c9abebe6f19c2343bbf7f94a2c (diff) | |
refactor: simplify script content handling in _get_script_from_stdin function
Diffstat (limited to 'xmake/plugins/lua')
| -rw-r--r-- | xmake/plugins/lua/main.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xmake/plugins/lua/main.lua b/xmake/plugins/lua/main.lua index b2a104949..c7b5137ce 100644 --- a/xmake/plugins/lua/main.lua +++ b/xmake/plugins/lua/main.lua @@ -56,8 +56,6 @@ function _get_script_from_stdin() local trimmed = script_content:trim() if trimmed:startswith('"') and trimmed:endswith('"') then script_content = trimmed:trim('"') - script_content = script_content:replace("\\n", "\n", {plain = true}) - :replace("\\r", "\r", {plain = true}) else script_content = trimmed end |
