We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1ae780 commit b00199dCopy full SHA for b00199d
src/commons.ts
@@ -272,6 +272,10 @@ export default class Commons {
272
askToken = !cusSettings.downloadPublicGist;
273
}
274
275
+ if (cusSettings.syncMode === "repo" && extSettings.repoUrl !== "") {
276
+ askToken = false;
277
+ }
278
+
279
if (askToken) {
280
if (cusSettings.openTokenLink) {
281
vscode.commands.executeCommand(
@@ -289,7 +293,7 @@ export default class Commons {
289
293
290
294
291
295
292
- if (extSettings.gist === "") {
296
+ if (extSettings.gist === "" && cusSettings.syncMode === "gist") {
297
if (askGist) {
298
const gistTemp: string = await this.GetGistAndSave(extSettings);
299
if (!gistTemp) {
0 commit comments