Skip to content

Commit

Permalink
reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
telesoho committed Dec 17, 2022
1 parent d91f22c commit 3e97701
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 0.19.4 (December 17, 2022)

- Add ${relativeFileDirname} ${workspaceFolderBasename} ${file} predefines. #89 #93
- Add ${relativeFileDirname} ${workspaceFolderBasename} ${file} predefines. #89 #93

## 0.19.3 (November 23, 2022)

Expand Down
5 changes: 2 additions & 3 deletions src/predefine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,13 @@ class Predefine {
}

/**
*
* @returns the name of the folder opened in VS Code without any slashes (/)
* the name of the folder opened in VS Code without any slashes (/)
*/
public workspaceFolderBasename(): string {
return path.basename(this.fileWorkspaceFolder());
}
/**
* ${file} - the current opened file
* the current opened file
*/
public file(): string {
return this.filePath();
Expand Down

0 comments on commit 3e97701

Please sign in to comment.