j-k
j-k
DDeno
Created by j-k on 11/9/2024 in #help
I'm not getting any warnings for no-overlap in vscode
I have some code which is actually bad and should be caught by SAST
if (typeof progress?.completedAt === "string") {
// we're done already
return;
}
if (typeof progress?.completedAt === "string") {
// we're done already
return;
}
completedAt can only be Date | null | undefined so this will never be "string" but nothing is complaining about no-overlap. Is this something deno lint should be picking up? How can I make my vscode with the deno extension catch this? Or do I need to use something else?
1 replies
DDeno
Created by j-k on 10/9/2024 in #help
Speed of compiling deno from source
Probably a dumb question but when building deno once getting towards the end (Compiling deno v2.0.0 (/build/source/cli)) it ends up being stuck on 2 threads, fairly low CPU usage, high memory usage, working a long time. Is that unavoidable, just linking or something, or can I improve things? (Platform: x86_64 linux but also curious about other platforms)
6 replies