pinokiod 1.2.51 → 1.2.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -308,6 +308,10 @@ class Api {
308
308
  // git url
309
309
  // test to see if any of the gitPaths match partially
310
310
 
311
+ if (!uri.includes(".git")) {
312
+ throw new Error("a git repository URI must end with .git")
313
+ }
314
+
311
315
  let repos = Object.keys(this.gitPath)
312
316
  let matched_repo = repos.filter((repo) => {
313
317
  return uri.includes(repo)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.2.51",
3
+ "version": "1.2.52",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {