X Tutup
Skip to content

make forward slash in output path consistent#1046

Merged
sanex3339 merged 1 commit intojavascript-obfuscator:masterfrom
jmbeach:forward-slash-path-fix
Feb 4, 2022
Merged

make forward slash in output path consistent#1046
sanex3339 merged 1 commit intojavascript-obfuscator:masterfrom
jmbeach:forward-slash-path-fix

Conversation

@jmbeach
Copy link
Copy Markdown
Contributor

@jmbeach jmbeach commented Feb 2, 2022

Noticed that a trailing forward slash (or lack thereof?) on an output directory can cause funny results for output names.

Example without this change (from my unit test):

You're trying to obfuscate the code in src/cli/ and output it to src/cli/dist but some of the files end up in src/cli/dist/src/cli/ instead.

@sanex3339
Copy link
Copy Markdown
Member

Thank you!

@sanex3339 sanex3339 merged commit 7307b02 into javascript-obfuscator:master Feb 4, 2022
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

Successfully merging this pull request may close these issues.

2 participants

X Tutup