-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tsp-client] Code fixes #7202
[tsp-client] Code fixes #7202
Conversation
@@ -1,8 +1,8 @@ | |||
import { mkdir, rm, writeFile, stat, readFile, access } from "node:fs/promises"; | |||
import { FileTreeResult } from "./fileTree.js"; | |||
import { mkdir, rm, stat, readFile, access } from "node:fs/promises"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it work if you import from "fs/promises"? without node:
just curious, as I'm not used to this notation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does seem to work without it. I'm not sure why this was added for me. I could look into removing it in the future if it's better. Let me know! I'll merge this PR in without that change though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great! Love the improved error messages. Left a few minor comments
PR is mainly to improve code style, fix some logic, correct async functions
Fixes #7049
Fixes #7048