adobe / helix-cli

Command-line tools for developing with AEM
Apache License 2.0
49 stars 58 forks source link

aem up fails if no remote 'origin' is defined #2369

Closed mokimo closed 3 months ago

mokimo commented 3 months ago

Description When running aem up without a git remote called 'origin' being defined, the process fails with a JS error Cannot read properties of null (reading 'repo') This first popped up a first months ago in discord

To Reproduce Steps to reproduce the behavior:

  1. Go to any edge delivery services repo
  2. Run aem up after deleting the remote called 'origin'
  3. JS error

Expected behavior Provide guidance on what error occurred and how to fix it

Screenshots image

Version: run: $ aem --version v16.3.17

mokimo commented 3 months ago

A better error should fix this image

tripodsan commented 3 months ago

:tada: This issue has been resolved in version 16.3.18 :tada:

The release is available on:

Your semantic-release bot :package::rocket: