Skip to content

"_lua" in path breaks param2 #28

@zgushonka

Description

@zgushonka

Got unpredictable behaviour if output path contains _lua string.
e.g. \tmp\lua_mini_test\booster.lua

Possible solution:
in CommandLineMinify.lua and / or similar places:

line 66-67:
	--keep the user from accidentally overwriting their non-minified file with 
	if arg[1]:find("_min") then

->	
        --keep the user from accidentally overwriting their non-minified file with 
	if arg[1]:find("_min.lua") then

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions