Skip to content

Commit

Permalink
forgot to lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shindakun committed Jun 29, 2024
1 parent aeea356 commit 2925a80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class MarkdownExportPlugin extends Plugin {
outputFormat: string,
) {

var dir = ""
let dir = ""
if (this.settings.includeFileName == true) {
dir = file.name.replace(".md", "")
}
Expand Down
8 changes: 4 additions & 4 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export async function tryCopyImage(
continue;
}

var dir = ""
let dir = ""
if (plugin.settings.includeFileName == true) {
dir = filename.replace(".md", "")
}
Expand Down Expand Up @@ -425,7 +425,7 @@ export async function tryCopyMarkdownByRead(
}
}

var dir = ""
let dir = ""
if (plugin.settings.includeFileName == true) {
dir = file.name.replace(".md", "")
}
Expand All @@ -438,7 +438,7 @@ export async function tryCopyMarkdownByRead(

switch (outputFormat) {
case "HTML": {
var filename
let filename
if (plugin.settings.customFileName) {
filename = plugin.settings.customFileName + ".md"
} else {
Expand All @@ -457,7 +457,7 @@ export async function tryCopyMarkdownByRead(
break;
}
case "markdown": {
var filename
let filename
if (plugin.settings.customFileName) {
filename = plugin.settings.customFileName + ".md"
} else {
Expand Down

0 comments on commit 2925a80

Please sign in to comment.