Leo Lamprecht
8 years ago
No known key found for this signature in database
GPG Key ID: B08517883D5E0E10
1 changed files with
1 additions and
7 deletions
-
lib/github.js
|
|
@ -56,13 +56,7 @@ export const isRepoPath = path => { |
|
|
|
return false |
|
|
|
} |
|
|
|
|
|
|
|
const slashCount = path.split('/').length - 1 |
|
|
|
|
|
|
|
if (!slashCount || slashCount > 1) { |
|
|
|
return false |
|
|
|
} |
|
|
|
|
|
|
|
return true |
|
|
|
return /[^\s\\]\/[^\s\\]/g.test(path) |
|
|
|
} |
|
|
|
|
|
|
|
export const onGitHub = async (path, debug) => { |
|
|
|