Skip to content

Commit

Permalink
Version Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiGasai committed Aug 18, 2022
1 parent dac5221 commit 1a074f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-google-calendar",
"name": "Obsidian Google Calendar",
"version": "1.1.6",
"version": "1.1.7",
"minAppVersion": "0.12.0",
"description": "Interact with your Google Calendar from Inside Obsidian",
"author": "YukiGasai",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-sample-plugin",
"version": "1.1.6",
"version": "1.1.7",
"description": "Interact with your Google Calendar from Inside Obsidian",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/helper/AutoEventNoteCreator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ export const createNoteFromEvent = async (event: GoogleEvent, folderName?:string

const templateFile = plugin.app.vault.getAbstractFileByPath(templateFilePath);

const result = await adapter.read(normalizePath(templateFilePath));
if(!(templateFile instanceof TFile))return false;

const result = await vault.read(templateFile);

if(result.contains("{{") && result.contains("}}")){
return false;
Expand Down

0 comments on commit 1a074f4

Please sign in to comment.