diff options
author | 2020-08-19 21:52:22 -0400 | |
---|---|---|
committer | 2020-08-20 02:52:22 +0100 | |
commit | 4248fcf8a430093077c5109e6e5f675c6a068045 (patch) | |
tree | e9009e6fd4fe7514e2a671262ba9d07dfbf07f95 /source/features/clone-branch.tsx | |
parent | 1fb0f872c8d8739f3e6108c633dce3d31b6e4dfd (diff) | |
download | refined-github-4b19860eaba416d8c20c979b4a5a06c0b597be2d.tar.gz refined-github-4b19860eaba416d8c20c979b4a5a06c0b597be2d.tar.zst refined-github-4b19860eaba416d8c20c979b4a5a06c0b597be2d.zip |
Lint (#3478)20.8.20
Diffstat (limited to 'source/features/clone-branch.tsx')
-rw-r--r-- | source/features/clone-branch.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/features/clone-branch.tsx b/source/features/clone-branch.tsx index b913f2fa..a3933287 100644 --- a/source/features/clone-branch.tsx +++ b/source/features/clone-branch.tsx @@ -69,7 +69,8 @@ async function cloneBranch({delegateTarget: cloneButton}: delegate.Event<MouseEv ); } -function init(): void | false { +async function init(): Promise<void | false> { + await api.expectToken(); const deleteIcons = select.all([ 'branch-filter-item-controller .octicon-trashcan', // Pre "Repository refresh" layout 'branch-filter-item .octicon-trashcan' |