Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Commit 2cf50e2

Browse files
author
Kahlil Lechelt
committed
Small fix to module sub-generator.
1 parent a262902 commit 2cf50e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

module/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
var util = require('util');
2+
var util = require('util');
33
var yeoman = require('yeoman-generator');
44

55
var ModuleGenerator = module.exports = function ModuleGenerator() {
@@ -13,5 +13,5 @@ ModuleGenerator.prototype.module = function module() {
1313
};
1414

1515
ModuleGenerator.prototype.test = function test() {
16-
this.copy('example.spec.js', 'test/specs/' + this.name + '.spec.js');
16+
this.template('example.spec.js', 'test/specs/' + this.name + '.spec.js');
1717
};

0 commit comments

Comments
 (0)