MCPcopy 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

5const isWin = process.platform === "win32";
6
7function makePath(file) {
8 return path.join(__dirname, "..", "www", "hmr", file);
9}
10
11function writeFile(file, data) {
12 fs.writeFileSync(makePath(file), data, "utf8");

Callers 1

writeFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected