MCPcopy Create free account
hub / github.com/adaptlearning/adapt_framework / appendSlash

Function appendSlash

grunt/helpers.js:112–117  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

110 };
111
112 const appendSlash = function(dir) {
113 if (dir) {
114 const lastChar = dir.substring(dir.length - 1, dir.length);
115 if (lastChar !== path.sep) return dir + path.sep;
116 }
117 };
118
119 // eslint-disable-next-line no-unused-vars
120 const includedProcess = function(content, filepath) {

Callers 1

helpers.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected