Skip to content

Commit

Permalink
Bump typescript from 5.5.4 to 5.6.2 (#72)
Browse files Browse the repository at this point in the history
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.5.4 to 5.6.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v5.5.4...v5.6.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 18, 2024
1 parent 8c9d135 commit 2c87975
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"svelte-preprocess": "^6.0.2",
"tslib": "^2.7.0",
"svelte": "^4.2.19",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"vite": "^4.4.4",
"@tauri-apps/cli": "^1.6.1"
}
Expand Down
5 changes: 1 addition & 4 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ async fn load_settings(handle: tauri::AppHandle) -> Result<Options, String> {
file.read_to_string(&mut contents)
.await
.map_err(|e| e.to_string())?;
match serde_json::from_str(&contents) {
Ok(options) => options,
Err(_) => Default::default(),
}
serde_json::from_str(&contents).unwrap_or_default()
} else {
Default::default()
};
Expand Down

0 comments on commit 2c87975

Please sign in to comment.