Skip to content

Commit

Permalink
touch ups
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr committed Dec 24, 2024
1 parent 6c63650 commit 2374e99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/create-docs-pr.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ function formatReleaseNotes(releaseDate, version, body, frontmatter) {
'subject: Node.js agent',
`releaseDate: '${releaseDate}'`,
`version: ${version.substring(1)}`, // remove the `v` from start of version
'downloadLink: \'https://www.npmjs.com/package/newrelic\'',
"downloadLink: 'https://www.npmjs.com/package/newrelic'",
`security: ${frontmatter.security}`,
`bugs: ${frontmatter.bugfixes}`,
`features: ${frontmatter.features}`,
Expand Down
2 changes: 1 addition & 1 deletion bin/run-bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async function run() {

const resolveGlobs = () => {
if (!globs.length) {
console.error('There aren\'t any globs to resolve.')
console.error("There aren't any globs to resolve.")
return
}
const afterGlobbing = (resolved) => {
Expand Down
4 changes: 2 additions & 2 deletions bin/test/create-docs-pr.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ test('Create Docs PR script', async (t) => {
const expected = [
'---',
'subject: Node.js agent',
'releaseDate: \'2020-04-03\'',
"releaseDate: '2020-04-03'",
'version: 2.0.0',
'downloadLink: \'https://www.npmjs.com/package/newrelic\'',
"downloadLink: 'https://www.npmjs.com/package/newrelic'",
'security: ["upgraded a dep"]',
'bugs: ["fixed a bug"]',
'features: ["added new api method"]',
Expand Down

0 comments on commit 2374e99

Please sign in to comment.