We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cf0233 commit 12e1e4cCopy full SHA for 12e1e4c
src/utils/helpers.js
@@ -398,9 +398,9 @@ export default {
398
)
399
) {
400
if (isFile) {
401
- await fsOperation(uri).createFile(pathString);
+ uri = await fsOperation(uri).createFile(pathString);
402
} else {
403
- await fsOperation(uri).createDirectory(pathString);
+ uri = await fsOperation(uri).createDirectory(pathString);
404
}
405
return { uri: uri, type: isFile ? "file" : "folder" };
406
0 commit comments