Skip to content

Commit

Permalink
Merge pull request #411 from mydea/fn/default-export
Browse files Browse the repository at this point in the history
Correctly import from private task-instance
  • Loading branch information
maxfierke committed Mar 4, 2021
2 parents 4031b89 + 9d5fdd6 commit 4b13ab7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/-task-instance.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import TaskInstance from './-private/task-instance';
import { TaskInstance } from './-private/task-instance';
import { deprecatePrivateModule } from './-private/utils';
deprecatePrivateModule("ember-concurrency/-task-instance");
export default TaskInstance;
2 changes: 1 addition & 1 deletion addon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
task,
taskGroup
} from './-private/task-properties';
import { default as TaskInstance } from './-private/task-instance';
import { TaskInstance } from './-private/task-instance';
import {
all,
allSettled,
Expand Down

0 comments on commit 4b13ab7

Please sign in to comment.