Skip to content

Commit

Permalink
Fix for ambiguous weekly format (#134)
Browse files Browse the repository at this point in the history
* Bump daily-notes-interface version; remove notices

* Remove console.log

* Bump version
  • Loading branch information
liamcain authored Feb 11, 2021
1 parent c937b71 commit dab40e6
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 127 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "calendar",
"name": "Calendar",
"description": "Calendar view of your daily notes",
"version": "1.5.0",
"version": "1.5.1",
"author": "Liam Cain",
"authorUrl": "https://github.com/liamcain/",
"isDesktopOnly": false,
Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "calendar",
"version": "1.5.0",
"version": "1.5.1",
"description": "Calendar view of your daily notes",
"author": "liamcain",
"main": "main.js",
Expand All @@ -13,33 +13,33 @@
},
"dependencies": {
"obsidian": "obsidianmd/obsidian-api#master",
"obsidian-calendar-ui": "0.3.1",
"obsidian-daily-notes-interface": "0.7.0",
"svelte": "3.31.0",
"tslib": "2.0.3"
"obsidian-calendar-ui": "0.3.3",
"obsidian-daily-notes-interface": "0.7.1",
"svelte": "3.32.3",
"tslib": "2.1.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "17.0.0",
"@rollup/plugin-node-resolve": "11.0.0",
"@rollup/plugin-typescript": "8.1.0",
"@rollup/plugin-commonjs": "17.1.0",
"@rollup/plugin-node-resolve": "11.1.1",
"@rollup/plugin-typescript": "8.1.1",
"@testing-library/jest-dom": "5.11.9",
"@testing-library/svelte": "3.0.3",
"@tsconfig/svelte": "1.0.10",
"@types/jest": "26.0.20",
"@types/moment": "2.13.0",
"@types/node": "14.14.21",
"@typescript-eslint/eslint-plugin": "4.13.0",
"@typescript-eslint/parser": "4.13.0",
"eslint": "7.18.0",
"@types/node": "14.14.25",
"@typescript-eslint/eslint-plugin": "4.15.0",
"@typescript-eslint/parser": "4.15.0",
"eslint": "7.19.0",
"jest": "26.6.3",
"moment": "2.29.1",
"rollup": "2.34.2",
"rollup-plugin-svelte": "7.0.0",
"svelte-check": "1.1.22",
"rollup": "2.38.5",
"rollup-plugin-svelte": "7.1.0",
"svelte-check": "1.1.34",
"svelte-jester": "1.3.0",
"svelte-preprocess": "4.6.1",
"ts-jest": "26.4.4",
"typescript": "4.1.3"
"svelte-preprocess": "4.6.8",
"ts-jest": "26.5.1",
"typescript": "4.1.5"
},
"jest": {
"moduleNameMapper": {
Expand Down
4 changes: 1 addition & 3 deletions src/ui/stores.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Notice, TFile } from "obsidian";
import type { TFile } from "obsidian";
import {
getAllDailyNotes,
getAllWeeklyNotes,
Expand All @@ -21,7 +21,6 @@ function createDailyNotesStore() {
} catch (err) {
if (!hasError) {
// Avoid error being shown multiple times
new Notice("Failed to find your daily note folder");
console.log("[Calendar] Failed to find daily notes folder", err);
}
store.set({});
Expand All @@ -44,7 +43,6 @@ function createWeeklyNotesStore() {
} catch (err) {
if (!hasError) {
// Avoid error being shown multiple times
new Notice("Failed to find your weekly note folder");
console.log("[Calendar] Failed to find weekly notes folder", err);
}
store.set({});
Expand Down
Loading

0 comments on commit dab40e6

Please sign in to comment.