@bbc/morty-docs 3.0.2 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,12 +28,11 @@ const generateTransformInput = dir => {
28
28
  if (fs.existsSync(fullPath)) {
29
29
  // fs.exists() is deprecated, but fs.existsSync() is not.
30
30
  const stats = fs.statSync(fullPath);
31
- console.log('Good symlink', fullPath);
31
+ console.log('Good symlink');
32
32
  if (stats.isFile()) {
33
33
  // get file details
34
34
  list.push(makeInputObject(fullPath, dir)); // symlinks become copies
35
35
  } else {
36
- console.log('directory... continue');
37
36
  // recursive call to get all files in the symlinked directory
38
37
  const newlist = generateTransformInput(fullPath);
39
38
  list = list.concat(newlist);
@@ -44,7 +43,6 @@ const generateTransformInput = dir => {
44
43
  continue;
45
44
  }
46
45
  }
47
- console.log(list);
48
46
  return list;
49
47
  };
50
48
  const makeInputObject = (fullPath, rootPath) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbc/morty-docs",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "To generate a static website from markdown documentation, to allow users to consume content in an easily accessible format",
5
5
  "main": "build/index.js",
6
6
  "publishConfig": {