瀏覽代碼

Clean cli.js

Gaël Métais 4 年之前
父節點
當前提交
e4b324d209
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      bin/cli.js

+ 0 - 2
bin/cli.js

@@ -15,7 +15,6 @@ var cli = meow({
         'Options:',
         '  --device             Simulates a device. Choose between phone (default), tablet, desktop and desktop-hd.',
         '  --screenshot         Will take a screenshot and use this value as the output path. It needs to end with ".png".',
-        //'  --wait-for-selector  Once the page is loaded, Phantomas will wait until the given CSS selector matches some elements.',
         '  --proxy              Sets an HTTP proxy to pass through. Syntax is "host:port".',
         '  --cookie             Adds a cookie on the main domain.',
         '  --auth-user          Basic HTTP authentication username.',
@@ -98,7 +97,6 @@ if (cli.flags.reporter && cli.flags.reporter !== 'json' && cli.flags.reporter !=
 
                     // Remove some heavy parts of the results object
                     delete data.toolsResults;
-                    delete data.javascriptExecutionTree;
 
                     var xmlOutput = serializer.render(data);