Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/github/docs
/ addPeriod
Function
addPeriod
src/graphql/scripts/utils/schema-helpers.js:15–17 ·
view source on GitHub ↗
(string)
Source
from the content-addressed store, hash-verified
13
const
singleQuotesInsteadOfBackticks = /
'(\S+?)'
/
14
15
function
addPeriod(string) {
16
return
string.endsWith(
'.'
) ? string : string +
'.'
17
}
18
19
async
function
getArguments(args, schema) {
20
if
(!args.length)
return
Callers
1
getDescription
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected