Skip to content

Commit f265e4f

Browse files
authored
Merge branch 'master' into current-file
2 parents a8db639 + 5a5566f commit f265e4f

File tree

1 file changed

+1
-1
lines changed
  • libs/remix-ui/workspace/src/lib/actions

1 file changed

+1
-1
lines changed

libs/remix-ui/workspace/src/lib/actions/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export const createNewFolder = async (path: string, rootDir: string) => {
179179
const exists = await fileManager.exists(dirName)
180180

181181
if (exists) {
182-
return dispatch(displayNotification('Rename File Failed', `A file or folder ${extractNameFromKey(path)} already exists at this location. Please choose a different name.`, 'Close', null, () => {}))
182+
return dispatch(displayNotification('Failed to create folder', `A folder ${extractNameFromKey(path)} already exists at this location. Please choose a different name.`, 'Close', null, () => {}))
183183
}
184184
await fileManager.mkdir(dirName)
185185
path = path.indexOf(rootDir + '/') === 0 ? path.replace(rootDir + '/', '') : path

0 commit comments

Comments
 (0)