Skip to content

Commit a6040a7

Browse files
authored
remove trailing commas
1 parent aa7acbc commit a6040a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/convert-data-file.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (process.mainModule === module) {
1010
const toFile = args[1] || '-'
1111
if (!fromFile || fromFile === '-h' || fromFile === '--help') {
1212
console.error(
13-
'usage: node convert-data-file.js <from-file.{md,yaml}> [to-file]',
13+
'usage: node convert-data-file.js <from-file.{md,yaml}> [to-file]'
1414
)
1515
process.exit(1)
1616
}
@@ -33,7 +33,7 @@ function convertDataFile({fromFile, toFile}) {
3333
break
3434
default:
3535
throw new Error(
36-
`unexpected filetype "${fileType}; expected "md" or "yaml"`,
36+
`unexpected filetype "${fileType}; expected "md" or "yaml"`
3737
)
3838
}
3939

0 commit comments

Comments
 (0)