Skip to content

Commit 2c98ff5

Browse files
committed
Fix generating the undefined.gwt.xml file
1 parent 46832ff commit 2c98ff5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gulpfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,11 @@ gulp.task('generate:widget-events', ['parse'], function() {
231231
});
232232

233233
gulp.task('generate:gwt-module', function () {
234-
if (args.moduleName != 'Elements' || args.groupId != 'com.vaadin.polymer') {
234+
if (globalVar.moduleName != 'Elements' || globalVar.ns != 'com.vaadin.polymer') {
235235
var dest = globalVar.publicDir.replace(/[^\/]+\/?$/, '');
236-
gutil.log("Generating Module: " + dest + args.moduleName + ".gwt.xml");
236+
gutil.log("Generating Module: " + dest + globalVar.moduleName + ".gwt.xml");
237237
return gulp.src(tplDir + "GwtModule.template")
238-
.pipe(rename(args.moduleName + ".gwt.xml"))
238+
.pipe(rename(globalVar.moduleName + ".gwt.xml"))
239239
.pipe(gulp.dest(dest));
240240
}
241241
});

0 commit comments

Comments
 (0)