Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/heygen-com/hyperframes
/ isDirectRun
Function
isDirectRun
scripts/changelog-weekly.ts:549–551 ·
view source on GitHub ↗
(scriptPath: string | undefined)
Source
from the content-addressed store, hash-verified
547
}
548
549
function
isDirectRun(scriptPath: string | undefined) {
550
return
scriptPath ?
import
.meta.url === pathToFileURL(scriptPath).href : false;
551
}
552
553
if
(isDirectRun(process.argv[1])) {
554
main();
Callers
1
changelog-weekly.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected