Skip to content

Commit

Permalink
Merge pull request #5 from twilio-labs/bnb/fix-retro-stuff
Browse files Browse the repository at this point in the history
fix: update filenames so file same file doesn't get written three times
  • Loading branch information
bnb authored Mar 6, 2024
2 parents de73687 + b31668d commit 8c31593
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion retro/generate-twilio-labs.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function markdown () {
const retro = await generate(organization, dates)

// write the data out to a file
fs.writeFile(path.resolve(`./retros/${dates.start}.md`), retro)
fs.writeFile(path.resolve(`./retros/twilio-labs-${dates.start}.md`), retro)
}

markdown()
2 changes: 1 addition & 1 deletion retro/generate-twilio-samples.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function markdown () {
const retro = await generate(organization, dates)

// write the data out to a file
fs.writeFile(path.resolve(`./retros/${dates.start}.md`), retro)
fs.writeFile(path.resolve(`./retros/twilio-samples-${dates.start}.md`), retro)
}

markdown()
2 changes: 1 addition & 1 deletion retro/generate-twilio.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function markdown () {
const retro = await generate(organization, dates)

// write the data out to a file
fs.writeFile(path.resolve(`./retros/${dates.start}.md`), retro)
fs.writeFile(path.resolve(`./retros/twilio-${dates.start}.md`), retro)
}

markdown()

0 comments on commit 8c31593

Please sign in to comment.