Skip to content

Commit

Permalink
Bug fix for windows wesleytodd#51
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleytodd committed Nov 10, 2013
1 parent f5766fd commit 5220cd9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions VERSIONS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Versions

- **1.3.1:** Bug fix for windows that I forgot to get in with 1.3.0
- **1.3.0:** Updated yeoman, converted back to yeoman prompts, fixed some regressions
- **1.2.2:** Bug fixes
- **1.2.1:** Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-wordpress",
"version": "1.3.0",
"version": "1.3.1",
"description": "A Yeoman generator for WordPress",
"keywords": [
"yeoman-generator",
Expand Down
2 changes: 1 addition & 1 deletion util/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var Config = module.exports = function(locals, globals) {
this.filename = '.yeopress';

// Load files
this.global = this.load(path.join(process.env.HOME, this.filename)) || {};
this.global = this.load(path.join(process.env.HOME || process.env.USERPROFILE, this.filename)) || {};
this.local = this.load() || {};

// Set initial data
Expand Down

0 comments on commit 5220cd9

Please sign in to comment.