Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
grunt create-rule now generates test to correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
HamletDRC committed Sep 30, 2016
1 parent 1fe0fdb commit de81f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ module.exports = function(grunt) {

var ruleFile = camelCase(ruleName) + 'Rule';
var sourceFileName = './src/' + ruleFile + '.ts';
var testFileName = './tests/' + ruleFile.charAt(0).toUpperCase() + ruleFile.substr(1) + 'Tests.ts';
var testFileName = './src/tests/' + ruleFile.charAt(0).toUpperCase() + ruleFile.substr(1) + 'Tests.ts';
var walkerName = ruleFile.charAt(0).toUpperCase() + ruleFile.substr(1) + 'Walker';

var ruleTemplateText = grunt.file.read('./templates/rule.snippet', {encoding: 'UTF-8'});
Expand Down

0 comments on commit de81f63

Please sign in to comment.