diff --git a/README.md b/README.md index 29d4569..25f5758 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ jobs: - **_ignore_**: Path of files to just ignore on ioncube walkthrough. _(default: '')_ - **_skip_**: Path of files to just skip on ioncube walkthrough. _(default: '')_ -- **_obfuscate_**: Type of PHP entities to obfuscate: +- **_obfuscate_**: PHP entities to obfuscate: all,locals,functions,methods,classes,linenos,none. _(default: 'none')_ - **_obfuscation-key_**: Key to obfuscation method to apply on PHP entities. _(default: '')_ diff --git a/src/main.js b/src/main.js index beecaa0..7859353 100644 --- a/src/main.js +++ b/src/main.js @@ -47,6 +47,10 @@ async function run() { customOptions += ' --binary' } + if (inputs.comments === false) { + customOptions += ' --no-doc-comments' + } + if (inputs.createTarget !== false) { customOptions += ' --create-target' }