Skip to content

Commit 02d9710

Browse files
committed
return the folderName
1 parent d5a69c7 commit 02d9710

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/flutterflow_api_client.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ Future<String?> exportCode({
110110
extractArchiveToCurrentDirectory(projectFolder, destinationPath);
111111
}
112112

113-
folderName = projectFolder.first.name;
113+
var fileName = projectFolder.first.name;
114+
folderName = fileName.substring(0, fileName.indexOf('/'));
114115

115116
final postCodeGenerationFutures = <Future>[
116117
if (fix)

0 commit comments

Comments
 (0)