Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

fix: writeFileSync can not write to temp files on macOS 10.15 #4887

Merged
merged 1 commit into from Nov 6, 2019

Conversation

i1skn
Copy link
Contributor

@i1skn i1skn commented Nov 5, 2019

PR checklist

Overview of change:

Add path.resolve whenfs.writeFileSync called with temp file path.

Credits for the idea hot to fix the issue goes to @dhleong #4880 (comment)

Is there anything you'd like reviewers to focus on?

Actually tests were failing on macOS Catalina before this fix.

@palantirtech
Copy link
Member

Thanks for your interest in palantir/tslint, @i1skn! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Copy link
Contributor

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the surgical fix you two!

FYI @adidahiya

@JoshuaKGoldberg
Copy link
Contributor

Build failures in testNext are unrelated; see #4888.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linting with absolute path to tmp file is broken in macOS Catalina
3 participants