We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dac4071 commit 10171c2Copy full SHA for 10171c2
1 file changed
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