You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
When output the linting results to a file in a non-existent directory, an error occurs running this command: tslint src/**/*.ts -t json -o newDirectory/results.json
TSLint version: 5.11.0
TypeScript version: 2.9.2
Running TSLint via: CLI
Actual behavior
The following error occurs:
events.js:167
throw er; // Unhandled 'error' event
^
Error: ENOENT: no such file or directory, open 'C:\newDirectory\results.json'
Emitted 'error' event at:
at lazyFs.open (internal/fs/streams.js:273:12)
at FSReqWrap.oncomplete (fs.js:141:20)
Expected behavior
I would expect the directory to be created automatically
The text was updated successfully, but these errors were encountered:
Bug Report
When output the linting results to a file in a non-existent directory, an error occurs running this command:
tslint src/**/*.ts -t json -o newDirectory/results.json
Actual behavior
The following error occurs:
Expected behavior
I would expect the directory to be created automatically
The text was updated successfully, but these errors were encountered: