Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Commit 6f40196

Browse files
committed
Merge branch 'hotfix/2'
Close #2 Fixes #4
2 parents b954b8f + 2c8502e commit 6f40196

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ All notable changes to this project will be documented in this file, in reverse
2121
- [#1](https://github.com/phly/php-qa-watch/pull/1) ensures that the `process`
2222
module is present on systems where it is not in the default node/npm
2323
installation.
24+
- [#2](https://github.com/phly/php-qa-watch/pull/2) ensures that the current
25+
working directory can be discovered when working on a Windows platform.
2426

2527
## 0.1.1 - 2016-10-24
2628

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var exec = require('child_process').exec;
2626
var program = require('commander');
2727
var notifier = require('node-notifier');
2828

29-
var pwd = require('process').env.PWD;
29+
var pwd = require('process').cwd();
3030
var project = require('path').posix.basename(pwd);
3131
var errorIcon = __dirname + '/error.png';
3232
var defaultWatchFiles = ['phpunit.xml.dist', 'phpcs.xml', 'src/**/*.php', 'test/**/*.php'];

0 commit comments

Comments
 (0)