We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 329860f commit a731938Copy full SHA for a731938
src/generateIgnoreFile.js
@@ -12,7 +12,7 @@ import highlightComments from './utils/highlightComments.js'
12
import joinLinesWithEOF from './utils/joinLinesWithEOF.js'
13
import { dynamicComposeP, promiseMap } from './utils/ramdaHelper.js'
14
15
-const isGithubSource = R.test(/^(\w+\/\w+)$/i)
+const isGithubSource = R.test(/^([\w.-]+\/[\w.-]+)$/i)
16
const prependAlert = R.concat([highlightComments(COMMENT_HEADER_ALERT), ''])
17
const sourceIs = (...args) => R.compose(...args, R.prop('source'))
18
0 commit comments