-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core/path): remove suffix in
basename
only once (#9165)
* fix(core/path): remove suffix in `basename` only once closes #9064 * Update tooling/api/src/path.ts * remove extra assert --------- Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
- Loading branch information
1 parent
ea0242d
commit 379cc2b
Showing
3 changed files
with
62 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'tauri': 'patch:bug' | ||
'@tauri-apps/api': patch:bug | ||
--- | ||
|
||
Fix `basename(path, 'ext')` JS API when removing all occurances of `ext` where it should only remove the last one. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters