Skip to content

Commit af691f2

Browse files
committed
fix(compile): pass in version from commander when rendering alloy.js file
1 parent f778201 commit af691f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Alloy/commands/compile/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ module.exports = function(args, program) {
244244
libAlloyJsDest,
245245
ejs.render(
246246
fs.readFileSync(path.join(alloyRoot, 'template', 'lib', 'alloy.js'), 'utf8'),
247-
{ version: module.exports.version }
247+
{ version: program.version() }
248248
)
249249
);
250250
}

0 commit comments

Comments
 (0)