Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Fix not to create NUL file by tsc in Windows #1155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dobogo
Copy link

@dobogo dobogo commented Aug 8, 2014

In windows, tsc, the TypeScript compiler for Node.js, creates the file passed
by --out argument, even if the file name is NUL.
This will pass a temporary file name to --out argument, and remove the file
after compilation, only in Windows.

In windows, `tsc`, the TypeScript compiler for Node.js, creates the file passed
by `--out` argument, even if the file name is `NUL`.
This will pass a temporary file name to `--out` argument, and remove the file
after compilation, only in Windows.
@lcd047
Copy link
Collaborator

lcd047 commented Aug 8, 2014

If TypeScript actually creates a file named NUL on Windows then this is a bug in TypeScript that should be reported to the TypeScript developers, rather than worked around in syntastic.

@lcd047
Copy link
Collaborator

lcd047 commented Aug 8, 2014

Actually, this seems to be a problem in node.js, rather than tsc.

@lcd047
Copy link
Collaborator

lcd047 commented Aug 8, 2014

... And node.js does this because libuv does it. So I suppose it should be reported as a bug to libuv?

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.

None yet

2 participants