Skip to content

Commit

Permalink
update name
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-anderson committed Jan 18, 2023
1 parent 3c55e85 commit d9d27a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -53,7 +53,7 @@ export class ErrorSingleton {
public addErrorName(error: NameError) {
this.allErrorNames.push(error)
}
public printErrorNames() {
public printNameErrors() {
logger.error(
dangerText('ERROR: TinaCMS only supports alphanumeric field names')
)
Expand Down
2 changes: 1 addition & 1 deletion packages/@tinacms/cli/src/cmds/init/index.ts
Expand Up @@ -259,7 +259,7 @@ const forestryMigrate = async ({
})

// print errors
ErrorSingleton.getInstance().printErrorNames()
ErrorSingleton.getInstance().printNameErrors()

return JSON.stringify(collections, null, 2)
}
Expand Down

0 comments on commit d9d27a4

Please sign in to comment.