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

Addon v2 should always use relative paths for own files #180

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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