Skip to content

Commit 3f8681c

Browse files
committed
fix conditional
1 parent 07a5435 commit 3f8681c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/content-migrations/update-tocs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ walk(path.join(process.cwd(), 'content'), { includeBasePath: true, directories:
4848
newContent = newContent.replace(/###? Table of Contents\n/i, '')
4949

5050
// Fix this one weird file
51-
if (file.relativePath === 'content/discussions/guides/index.md') {
51+
if (relativePath === 'discussions/guides/index.md') {
5252
data.children = [
5353
'/best-practices-for-community-conversations-on-github',
5454
'/finding-discussions-across-multiple-repositories',

0 commit comments

Comments
 (0)