Skip to content

Commit 5833a5b

Browse files
author
Tim Lindvall
committed
Remove unnecessary fallback for this._parentName.
1 parent 7124bcc commit 5833a5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ember-css-modules/lib/modules-preprocessor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ module.exports = class ModulesPreprocessor {
191191

192192
return this._resolvePath(importPath, fromFile, {
193193
defaultExtension: this.owner.getFileExtension(),
194-
ownerName: this._parentName || this.owner.getParentName(),
194+
ownerName: this._parentName,
195195
addonModulesRoot: this.owner.getAddonModulesRoot(),
196196
root: ensurePosixPath(this._modulesTree.inputPaths[0]),
197197
parent: this.owner.getParent()

0 commit comments

Comments
 (0)