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: refactor pummel/test-dtrace-jsstack · nodejs/node@c568dfa

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/pummel
    • test-dtrace-jsstack.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/pummel/test-dtrace-jsstack.js‎

Copy file name to clipboardExpand all lines: test/pummel/test-dtrace-jsstack.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const common = require('../common');
33
var assert = require('assert');
44
var os = require('os');
55

6-
if (os.type() != 'SunOS') {
6+
if (!common.isSunOS) {
77
common.skip('no DTRACE support');
88
return;
99
}
@@ -52,7 +52,7 @@ dtrace.stdout.on('data', function(data) {
5252
});
5353

5454
dtrace.on('exit', function(code) {
55-
if (code != 0) {
55+
if (code !== 0) {
5656
console.error('dtrace exited with code ' + code);
5757
process.exit(code);
5858
}
@@ -65,7 +65,7 @@ dtrace.on('exit', function(code) {
6565
for (var i = 0; i < lines.length; i++) {
6666
var line = lines[i];
6767

68-
if (line.indexOf(sentinel) == -1 || frames.length === 0)
68+
if (line.indexOf(sentinel) === -1 || frames.length === 0)
6969
continue;
7070

7171
var frame = line.substr(line.indexOf(sentinel) + sentinel.length);

0 commit comments

Comments
0 (0)
You are visitor 01402520 — 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.