Don't cache packages on the filesystem
Should help with transient errors reported in #86, #104, and #110
This commit is contained in:
5
server/utils/addLeadingSlash.js
Normal file
5
server/utils/addLeadingSlash.js
Normal file
@ -0,0 +1,5 @@
|
||||
function addLeadingSlash(name) {
|
||||
return name.charAt(0) === "/" ? name : "/" + name;
|
||||
}
|
||||
|
||||
module.exports = addLeadingSlash;
|
Reference in New Issue
Block a user