Skip to content

Commit

Permalink
Fix verion-check to look in right place for React.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zpao committed Mar 3, 2014
1 parent 4c4446d commit 1d27770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grunt/tasks/version-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var reactVersionExp = /\bReact\.version\s*=\s*['"]([^'"]+)['"];/;

module.exports = function() {
var reactVersion = reactVersionExp.exec(
grunt.file.read('./src/browser/React.js')
grunt.file.read('./src/browser/ui/React.js')
)[1];
var npmReactVersion = grunt.file.readJSON('./npm-react/package.json').version;
var reactToolsVersion = grunt.config.data.pkg.version;
Expand Down

0 comments on commit 1d27770

Please sign in to comment.