GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: fix deprecation warning due to util.print · nodejs/node@9353093

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-child-process-double-pipe.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-child-process-double-pipe.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-child-process-double-pipe.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
const common = require('../common');
2424
const assert = require('assert');
2525
const os = require('os');
26-
const util = require('util');
2726
const spawn = require('child_process').spawn;
2827

2928
// We're trying to reproduce:
@@ -108,7 +107,7 @@ let result = '';
108107
// print sed's output
109108
sed.stdout.on('data', function(data) {
110109
result += data.toString('utf8', 0, data.length);
111-
util.print(data);
110+
console.log(data);
112111
});
113112

114113
sed.stdout.on('end', function(code) {

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.