Skip to content

Commit

Permalink
Revert minutebase#178 - Addon v2 should always use relative paths for…
Browse files Browse the repository at this point in the history
… own files
  • Loading branch information
mkszepp committed Jul 2, 2024
1 parent a0a133c commit 77099b4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ember-can/src/helpers/can.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Helper from '@ember/component/helper';
import { inject as service } from '@ember/service';
import type Ability from 'ember-can/services/abilities';
import type Ability from '../services/abilities.ts';

interface CanSignature {
Args: {
Expand Down
2 changes: 1 addition & 1 deletion ember-can/src/helpers/cannot.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Helper from '@ember/component/helper';
import { inject as service } from '@ember/service';
import type Ability from 'ember-can/services/abilities';
import type Ability from '../services/abilities.ts';

interface CannotSignature {
Args: {
Expand Down
2 changes: 1 addition & 1 deletion ember-can/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import Ability from 'ember-can/ability';
import Ability from './ability.ts';

export { Ability };
2 changes: 1 addition & 1 deletion ember-can/src/services/abilities.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Service from '@ember/service';
import Ability from 'ember-can/ability';
import Ability from '../ability.ts';
import { assert } from '@ember/debug';
import { getOwner } from '@ember/application';
import normalizeAbilityString from '../-private/normalize.ts';
Expand Down
4 changes: 2 additions & 2 deletions ember-can/src/template-registry.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import CanHelper from 'ember-can/helpers/can';
import CannotHelper from 'ember-can/helpers/cannot';
import CanHelper from './helpers/can.ts';
import CannotHelper from './helpers/cannot.ts';

export default interface Registry {
can: typeof CanHelper;
Expand Down

0 comments on commit 77099b4

Please sign in to comment.