Skip to content

cmd: prevent command names from being used as remotes#592

Merged
bobheadxi merged 2 commits into
masterfrom
cmd/#591-reserved-remote-names
Feb 26, 2019
Merged

cmd: prevent command names from being used as remotes#592
bobheadxi merged 2 commits into
masterfrom
cmd/#591-reserved-remote-names

Conversation

@bobheadxi

Copy link
Copy Markdown
Member

🎟️ Ticket(s): Closes #591


👷 Changes

Adding a remote first checks if the remote is also a command name

🔦 Testing Instructions

❯ ./inertia remote add remote
'remote' is the name of an Inertia command - please choose something else

@bobheadxi bobheadxi added the pr: finalized needs review and final approval label Feb 26, 2019
@bobheadxi bobheadxi requested a review from a team February 26, 2019 20:53
@ghost ghost requested review from kimoantiqe, mRabitsky and nicholaschinjie February 26, 2019 20:54
@codecov

codecov Bot commented Feb 26, 2019

Copy link
Copy Markdown

Codecov Report

Merging #592 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #592      +/-   ##
==========================================
- Coverage   55.38%   55.36%   -0.01%     
==========================================
  Files          67       67              
  Lines        3005     3006       +1     
==========================================
  Hits         1664     1664              
- Misses       1145     1146       +1     
  Partials      196      196
Impacted Files Coverage Δ
cmd/core/utils/output/print.go 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d1cbdd6...8e2d877. Read the comment docs.

@bobheadxi bobheadxi merged commit 9d630eb into master Feb 26, 2019
@bobheadxi bobheadxi deleted the cmd/#591-reserved-remote-names branch February 26, 2019 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: finalized needs review and final approval

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants