File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,5 @@ slug: /fortSphere/policies
66
77Here you can find an updated list with all the policies available in the latest version:
88<!-- LIST:START -->
9- <!-- LIST:START -->
109- Restrict Repository Creation ([ restrictRepoCreationGitHub] ( /docs/policies/restrictRepoCreationGitHub ) )
11- <!-- LIST:END -->
12- <!-- LIST:END -->
13- <!-- LIST:END -->
14- <!-- LIST:END -->
15- <!-- LIST:END -->
1610<!-- LIST:END -->
Original file line number Diff line number Diff line change @@ -69,16 +69,13 @@ const policiesList = policies.map((policy) => {
6969 return `- ${ policy . title } ([${ policy . name } ](/docs/policies/${ policy . name } ))`
7070} ) . join ( '\n' )
7171
72- const policiesListContent = `${ listStartTag }
73- ${ policiesList }
74- ${ listEndTag } `
7572
7673const policiesListDestination = path . join ( process . cwd ( ) , 'docs/projects/fortSphere/policies.md' )
7774policiesListFileContent = readFileSync ( policiesListDestination , 'utf8' )
7875
7976policiesListFileContent = updateOrCreateSegment ( {
8077 original : policiesListFileContent ,
81- replacementSegment : policiesListContent ,
78+ replacementSegment : policiesList ,
8279 startTag : listStartTag ,
8380 endTag : listEndTag
8481} )
You can’t perform that action at this time.
0 commit comments