MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / fail

Function fail

server/api/ProjectRoute.js:169–173  ·  view source on GitHub ↗
(status, message)

Source from the content-addressed store, hash-verified

167 const uploadDirectory = path.resolve(__dirname, "../uploads");
168
169 const fail = (status, message) => {
170 if (settled) return;
171 settled = true;
172 reject({ status, message });
173 };
174
175 const succeed = (value) => {
176 if (settled) return;

Callers 1

parseUploadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected