Skip to content

Commit

Permalink
fix: Clean up for lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
KDB223 committed May 15, 2023
1 parent 96cc9bb commit e982463
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mutation.ts
Expand Up @@ -381,15 +381,15 @@ export class Mutation {
*/
static parseColumnName(columnName: string): ParsedColumn {
const colonIdx = columnName.indexOf(':');
if (colonIdx == -1) {

if (colonIdx === -1) {
// columnName does not contain ':'
return {
family: columnName,
qualifier: null,
};
}

Check failure on line 392 in src/mutation.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `·`

Check failure on line 392 in src/mutation.ts

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces not allowed
return {
family: columnName.slice(0, colonIdx),
qualifier: columnName.slice(colonIdx + 1),
Expand Down

0 comments on commit e982463

Please sign in to comment.