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: remove unnecessary linter comment · nodejs/node@ee05411

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-fs-utimes.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-fs-utimes.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-fs-utimes.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,7 @@ fs.writeFileSync(path, '');
188188

189189
// test Y2K38 for all platforms [except 'arm', 'OpenBSD' and 'SunOS']
190190
if (!process.arch.includes('arm') && !common.isOpenBSD && !common.isSunOS) {
191-
// because 2 ** 31 doesn't look right
192-
// eslint-disable-next-line space-infix-ops
193-
const Y2K38_mtime = 2**31;
191+
const Y2K38_mtime = 2 ** 31;
194192
fs.utimesSync(path, Y2K38_mtime, Y2K38_mtime);
195193
const Y2K38_stats = fs.statSync(path);
196194
assert.strictEqual(Y2K38_mtime, Y2K38_stats.mtime.getTime() / 1000);

0 commit comments

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