Skip to content

Commit ab194e8

Browse files
committed
fix: resolve settings save error
1 parent 53674e2 commit ab194e8

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "qiniu-image-uploader",
33
"name": "Qiniu Image Uploader",
4-
"version": "1.1.2",
4+
"version": "1.1.3",
55
"minAppVersion": "0.15.0",
66
"description": "Uploads images from your clipboard to qiniu.com and embeds uploaded image to your note.",
77
"author": "Jade Zheng",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "obsidian-sample-plugin",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "This is a sample plugin for Obsidian (https://obsidian.md)",
55
"main": "main.js",
66
"scripts": {
77
"dev": "node esbuild.config.mjs",
88
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
9-
"version": "node version-bump.mjs && git add manifest.json versions.json"
9+
"version": "node version-bump.mjs && npm install"
1010
},
1111
"keywords": [],
1212
"author": {

src/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class SettingTab extends PluginSettingTab {
106106
.addOption("No", t("NO"))
107107
.setValue(this.plugin.settings.https)
108108
.onChange(async (value) => {
109-
this.plugin.settings.region = value;
109+
this.plugin.settings.https = value;
110110
await this.plugin.saveSettings();
111111
const fiveSecondsMillis = 5_000;
112112
if (value === "Yes") {

versions.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"1.0.0": "0.15.0",
33
"1.1.0": "0.15.0",
44
"1.1.1": "0.15.0",
5-
"1.1.2": "0.15.0"
6-
}
5+
"1.1.2": "0.15.0",
6+
"1.1.3": "0.15.0"
7+
}

0 commit comments

Comments
 (0)