Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/remoteinterview/zero
/ makePath
Function
makePath
test/integration/hmr.js:7–9 ·
view source on GitHub ↗
(file)
Source
from the content-addressed store, hash-verified
5
const
isWin = process.platform ===
"win32"
;
6
7
function
makePath(file) {
8
return
path.join(__dirname,
".."
,
"www"
,
"hmr"
, file);
9
}
10
11
function
writeFile(file, data) {
12
fs.writeFileSync(makePath(file), data,
"utf8"
);
Callers
1
writeFile
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected