reg-viz / reg-suit

:recycle: Visual Regression Testing tool

Home Page:https://reg-viz.github.io/reg-suit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`reg-suit init` fails to create config file

Christopher-Hayes opened this issue · comments

Description

When I run reg-suit init, the script fails to load the config file "regconfig.json". In fact, the config file isn't even created. The debug logs just show [reg-suit] debug config file: reconfig.json, which I assume means it is supposed to create the reconfig.json file, but that file is never actually created in the CWD.

Steps

Steps to reproduce the behavior:

  1. Run reg-suit init
  2. Hit enter to use the default plugins.
  3. The output will get stuck at ? Working directory of reg-suit. (.reg)

Details

Version: 0.10.0

NPM Version: 6.13.6

Node Version: 13.7.0

Platform: Windows 10

CLI: Git Bash, Powershell, Command Prompt

Even after manually creating a config file based on example projects, the reg-suit init command still hangs on ? Working directory of reg-suit. (.reg)