Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit bc2c6ec

Browse files
authored
fix(plugins): check for argument properties before traversing (#83)
1 parent b86e1ae commit bc2c6ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: resource-resolver-plugins/StyleUrlResolvePlugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const StyleUrlResolvePlugin = (function() {
5050
}
5151

5252
StyleUrlResolvePlugin.prototype.traverseDecoratorArguments = function(args) {
53-
args.forEach(arg => this.traverseProperties(arg.properties));
53+
args.forEach(arg => arg.properties && this.traverseProperties(arg.properties));
5454
}
5555

5656
StyleUrlResolvePlugin.prototype.traverseProperties = function(properties) {

0 commit comments

Comments
 (0)