herbsjs / herbs-cli

Herbs CLI
https://herbsjs.org/
MIT License
30 stars 30 forks source link

Fix error when try to create a project in linux #153

Closed vitorgamer58 closed 2 years ago

vitorgamer58 commented 2 years ago

Fixes https://github.com/herbsjs/herbs-cli/issues/152

Proposed Changes

  1. Change the order of git commands

Readiness Checklist

Author/Contributor

Reviewing Maintainer

vitorgamer58 commented 2 years ago

Working on linux and windows Screenshot_7016

codecov[bot] commented 2 years ago

Codecov Report

Merging #153 (b652cec) into main (fd893df) will not change coverage. The diff coverage is 93.10%.

@@           Coverage Diff           @@
##             main     #153   +/-   ##
=======================================
  Coverage   87.17%   87.17%           
=======================================
  Files          25       25           
  Lines         421      421           
=======================================
  Hits          367      367           
  Misses         54       54           
Impacted Files Coverage Δ
src/generators/index.js 100.00% <ø> (ø)
src/generators/src/packagejson.js 100.00% <ø> (ø)
src/commands/shell.js 90.00% <90.00%> (ø)
src/generators/src/domain/usecases/unitTests.js 92.15% <100.00%> (ø)
src/generators/src/infra/git.js 84.21% <100.00%> (ø)
src/generators/src/infra/shell/permissions.js 100.00% <100.00%> (ø)
src/generators/src/readme.js 100.00% <100.00%> (ø)
src/generators/utils.js 96.29% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

herbsjs-robot commented 2 years ago

:tada: This PR is included in version 2.15.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: