Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template Tag Codemod: Duplicates some comments #2311

Open
kategengler opened this issue Feb 24, 2025 · 2 comments
Open

Template Tag Codemod: Duplicates some comments #2311

kategengler opened this issue Feb 24, 2025 · 2 comments

Comments

@kategengler
Copy link

Before:

import { action } from '@ember/object';
import { service } from '@ember/service';
import Component from '@glimmer/component';
// eslint-disable-next-line import/named
import { cached } from '@glimmer/tracking';
import { bbox } from '@turf/bbox';
import { centroid } from '@turf/centroid';
import { scale } from 'chroma-js';
import mapboxgl from 'mapbox-gl';
import { tracked } from 'tracked-built-ins';

import { formatZipField } from '../helpers/format-zip-field';

After:

import { action } from '@ember/object';
import { iservice } from '@ember/service';
import Component from '@glimmer/component';
// eslint-disable-next-line import/named
// eslint-disable-next-line import/named
import { cached } from '@glimmer/tracking';
import { bbox } from '@turf/bbox';
import { centroid } from '@turf/centroid';
import { scale } from 'chroma-js';
import mapboxgl from 'mapbox-gl';
import { tracked } from 'tracked-built-ins';
import { formatZipField } from '../helpers/format-zip-field';
// eslint-disable-next-line import/named

In another a // TODO: block is duplicated.

@ef4
Copy link
Contributor

ef4 commented Feb 25, 2025

0.5.0-alpha.4 was released around the same time as this bug report, was this using that version or the previous?

@kategengler
Copy link
Author

It was 0.5.0-alpha.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants