We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8dcb0b commit eacb7e4Copy full SHA for eacb7e4
2 files changed
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "youran-toolbox",
3
"private": true,
4
- "version": "0.0.6",
+ "version": "0.0.7",
5
"type": "module",
6
"scripts": {
7
"dev": "vite dev",
src/routes/rename/+page.svelte
@@ -129,7 +129,8 @@
129
130
for (const path of paths) {
131
const info = await stat(path);
132
- const name = path.split('/').pop() || path.split('\\').pop() || path;
+ const sep = getPathSeparator(path);
133
+ const name = path.split(sep).pop() || path;
134
135
items.push({
136
path,
0 commit comments