[Pkg-javascript-commits] [node-acorn-jsx] 193/484: Fix another bogus piece of code from 31e77b975ed0bf14f68f9b0f6608bbe78d694bf0

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:20:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-acorn-jsx.

commit caeaf37c31a648ffd3197601c40fc8cc5a211562
Author: Marijn Haverbeke <marijnh at gmail.com>
Date:   Tue Jun 17 11:08:12 2014 +0200

    Fix another bogus piece of code from 31e77b975ed0bf14f68f9b0f6608bbe78d694bf0
---
 bin/acorn | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/acorn b/bin/acorn
index a3d05f4..d5e5e3a 100755
--- a/bin/acorn
+++ b/bin/acorn
@@ -7,7 +7,7 @@ var acorn = require("../acorn.js");
 var infile, parsed, options = {}, silent = false, compact = false;
 
 function help(status) {
-  var print = (status == 0) ? console.out : console.error;
+  var print = (status == 0) ? console.log : console.error;
   print("usage: " + path.basename(process.argv[1]) + " [--ecma3|--ecma5] [--strictSemicolons]");
   print("        [--locations] [--compact] [--silent] [--help] [--] infile");
   process.exit(status);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git



More information about the Pkg-javascript-commits mailing list