Files
freeCodeCamp/tools/challenge-helper-scripts/helpers/get-project-path.ts

9 lines
189 B
TypeScript
Raw Normal View History

import path from 'path';
// Returns the path of a project
function getProjectPath(): string {
return (process.env.CALLING_DIR || process.cwd()) + path.sep;
}
export { getProjectPath };