Skip to content

Commit 2663aa5

Browse files
committed
Make the linter happy
1 parent 9661fe2 commit 2663aa5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/controllers/crate/version.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ export default Controller.extend({
154154
}),
155155

156156
yankVersionTask: task(function* (version) {
157-
return version.yank.perform();
157+
return yield version.yank.perform();
158158
}),
159159

160160
unyankVersionTask: task(function* (version) {
161-
return version.unyank.perform();
161+
return yield version.unyank.perform();
162162
}),
163163
});

app/templates/crate/version.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
{{ version.num }}
169169
</LinkTo>
170170
{{moment-format version.created_at 'll'}}
171-
{{#if isOwner}}
171+
{{#if this.isOwner}}
172172
{{#if version.yanked}}
173173
<button type="button" local-class="remove-button" {{on "click" (perform this.unyankVersionTask version)}}>Unyank</button>
174174
{{else}}

0 commit comments

Comments
 (0)