-
+
diff --git a/client/utils/getGithubPath.js b/client/utils/getGithubPath.js
deleted file mode 100644
index 58465c443d..0000000000
--- a/client/utils/getGithubPath.js
+++ /dev/null
@@ -1,12 +0,0 @@
-exports.getGithubPath = function getGithubPath(fileAbsolutePath) {
- const { NODE_ENV: env } = process.env;
- const guideType = env === 'production' ? 'guide' : 'mock-guide';
- let githubFilePath =
- 'https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md#research-write-and-update-our-guide-articles';
- const pathIndex = fileAbsolutePath.indexOf(`/${guideType}`);
- if (pathIndex > -1) {
- const newPath = fileAbsolutePath.slice(pathIndex);
- githubFilePath = `https://github.com/freeCodeCamp/freeCodeCamp/blob/master${newPath}`;
- }
- return githubFilePath;
-};