We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dac4071 commit 74e023aCopy full SHA for 74e023a
2 files changed
package.json
@@ -3,7 +3,7 @@
3
"displayName": "XML Layout for Flutter",
4
"description": "XML Layout for Flutter. Brings Angular's style to Flutter!",
5
"publisher": "WaseemDev",
6
- "version": "0.0.30",
+ "version": "0.0.31",
7
"icon": "images/logo.png",
8
"repository": {
9
"type": "github",
src/manager.ts
@@ -155,7 +155,7 @@ export default class Manager {
155
return;
156
}
157
158
- const filePath = docName.substring(0, docName.indexOf('.'));
+ const filePath = docName.substring(0, docName.lastIndexOf('.'));
159
const controllerFilePath = filePath + '.ctrl.dart';
160
const controllerFileName = path.parse(controllerFilePath).base;
161
0 commit comments