yeoman-environment 4.1.2 → 4.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -611,7 +611,8 @@ export default class EnvironmentBase extends EventEmitter {
611
611
  this.queueTask('environment:conflicts', async () => {
612
612
  debug('Adding queueCommit listener');
613
613
  // Conflicter can change files add listener before commit task.
614
- const changedFileHandler = (file) => {
614
+ const changedFileHandler = (filePath) => {
615
+ const file = this.sharedFs.get(filePath);
615
616
  if (isFilePending(file)) {
616
617
  queueCommit();
617
618
  this.sharedFs.removeListener('change', changedFileHandler);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yeoman-environment",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "description": "Handles the lifecyle and bootstrapping of generators in a specific environment",
5
5
  "keywords": [
6
6
  "development",