Skip to content

Recent Node seems depeciates sys.print #15

@wsuff

Description

@wsuff

This creates a warning on each output print in chromix-server.

I made a local change that seems to resolve this so I figured I'd mention it. Might not be the best fix so I will defer to the project as to how it's addressed in the next npm package.

  print = require('console').log;

  echo = function(msg) {
    return print("" + msg);
  };

It appears log already has an endline. Using node v0.12.1

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