Skip to content

Commit

Permalink
fix(vcs): allow ssh for git repo URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Jul 19, 2019
1 parent 9352176 commit fef8ea5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion garden-service/src/config/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,13 @@ export const joiArray = (schema) => Joi
export const joiRepositoryUrl = () => Joi
.string()
.uri({
// TODO Support other protocols?
scheme: [
"git",
/git\+https?/,
/git\+ssh?/,
"https",
"file",
"ssh",
],
})
.description(
Expand Down

0 comments on commit fef8ea5

Please sign in to comment.