Fix policies links (#768)
Luke Karrys committed
Oct 16, 2023 at 09:06 UTC
66f1d07c415be8cb4cc3d3d856642c8a3ab7c453
1 file changed
+1
-1
gatsby-node.js
+1
-1
@@ -8,7 +8,7 @@ exports.onCreateNode = ({ node, actions, getNode }) => {
8
// - directory indexes
9
// - all cli paths
10
// - all policies paths
11
- if (name === 'index' || dir.startsWith('cli/') || dir.startsWith('policies/')) {
11
+ if (name === 'index' || dir.startsWith('cli/') || dir.startsWith('policies')) {
12
return
13
}
14