Skip to content

Commit 6ddd715

Browse files
authored
Fix #253
2 parents f0f02af + bd4f245 commit 6ddd715

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

git/gitauth.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,17 +202,27 @@ window.addEventListener('load', async () => {
202202
body.classList.add('loaded');
203203

204204
showMessage('Logging in...', -1);
205+
206+
207+
// update legacy workflow permission
208+
setStorage('hasWorkflowPermission', 'true');
209+
205210

206211
const gitCode = linkData.gitCode;
207212

208213
// get git token from Github
209214
await getGithubToken(gitCode);
210215

216+
211217
// clear modified repos
212218
modifiedRepos = {};
213219
updateModReposLS();
214220

215-
hideMessage();
221+
222+
// hide message
223+
if (messageEl.textContent === 'Logging in...') {
224+
hideMessage();
225+
}
216226

217227
}
218228

@@ -295,4 +305,3 @@ async function getGithubToken(gitCode) {
295305
}
296306

297307
}
298-

utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const body = document.body,
7777

7878

7979
// version
80-
const version = '3.4.4';
80+
const version = '3.4.5';
8181
versionEl.innerText = version;
8282

8383
let logVersion = () => {

worker/client-channel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
// update worker name when updating worker
7-
const WORKER_NAME = 'codeit-worker-v628';
7+
const WORKER_NAME = 'codeit-worker-v629';
88

99

1010
// internal paths

0 commit comments

Comments
 (0)