Skip to content

Commit

Permalink
fix: Fix sharing one file with filemenu
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Apr 11, 2022
1 parent 365627b commit 5e51626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class mkdocsPublication extends Plugin {
.onClick(async()=>{
try {
const publish = new MkdocsPublish(this.app.vault, this.app.metadataCache, this.settings);
const publishSuccess = await publish.publish(file);
const publishSuccess = await publish.publish(file, true);
if (publishSuccess) {
new Notice("Successfully published "+ file.basename +" to mkdocs.")
}
Expand Down

0 comments on commit 5e51626

Please sign in to comment.