Commit 83c2c3b6 authored by Roman Reiss's avatar Roman Reiss
Browse files

test: lint and refactor to avoid autocrlf issue

The test was failing after adding 'use strict' because the windows CI
uses the autocrlf option of git which converts \r into \r\n on checkout.

Refactored the test to not read itself anymore and create a temp file on
the fly instead to avoid this line-ending issue.

PR-URL: https://github.com/nodejs/node/pull/2494


Reviewed-By: default avatarJoao Reis <reis@janeasystems.com>
parent 4c5fc3b1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment