Skip to content

Commit 70b5bf7

Browse files
committed
Check for undefined _privateRenderableInvoker
1 parent a853460 commit 70b5bf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/engines/classic/test-file-info.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Object.defineProperty(TestFileInfo.prototype, 'destRelativePath', {
5151
var renderableName = path.join(this.namespace, this.name);
5252
var privateRenderableInvoker = this._fileInfoCollection.detectPrivateRenderableInvoker(renderableName);
5353

54-
if (privateRenderableInvoker) {
54+
if (privateRenderableInvoker && this._privateRenderableInvoker) {
5555
var invokerLocation = path.dirname(this._privateRenderableInvoker.destRelativePath);
5656
var invokerInComponentsCollection = privateRenderableInvoker.collection === 'components';
5757
var invokerInPrivateCollection = invokerLocation.indexOf('-components') > -1;

0 commit comments

Comments
 (0)