We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f661f3 commit 4e971cdCopy full SHA for 4e971cd
1 file changed
packages/project/lib/specifications/types/Component.js
@@ -292,7 +292,6 @@ class Component extends ComponentProject {
292
293
async _ensureComponent() {
294
// Throw if neither Component.js nor Component.ts is present
295
- // or if both are present
296
const componentResource = await this._getRawSourceReader().byPath("/Component.js") ||
297
await this._getRawSourceReader().byPath("/Component.ts");
298
if (!componentResource) {
0 commit comments