mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-11 17:59:20 +01:00
chore: remove deprecate git.io comments (#2131)
This commit is contained in:
parent
7d13f27d6c
commit
58d81a25ad
@ -11,7 +11,7 @@ export function replaceEmoji (string, replacer) {
|
|||||||
const emojiRegex = getEmojiRegex()
|
const emojiRegex = getEmojiRegex()
|
||||||
|
|
||||||
function safeReplacer (substring) {
|
function safeReplacer (substring) {
|
||||||
// emoji regex matches digits and pound sign https://git.io/fpl6J
|
// emoji regex matches digits and pound sign https://github.com/mathiasbynens/emoji-regex/issues/33#issuecomment-373674579
|
||||||
if (substring.match(NON_EMOJI_REGEX)) {
|
if (substring.match(NON_EMOJI_REGEX)) {
|
||||||
return substring
|
return substring
|
||||||
}
|
}
|
||||||
|
@ -11,5 +11,5 @@ app.use(sapper.middleware())
|
|||||||
|
|
||||||
app.listen(PORT, () => console.log(`listening on port ${PORT}`))
|
app.listen(PORT, () => console.log(`listening on port ${PORT}`))
|
||||||
|
|
||||||
// Handle SIGINT (source: https://git.io/vhJgF)
|
// Handle SIGINT (source: https://github.com/pouchdb/pouchdb-server/blob/fdc6ba7/packages/node_modules/pouchdb-server/lib/index.js#L304-L306)
|
||||||
process.on('SIGINT', () => process.exit(0))
|
process.on('SIGINT', () => process.exit(0))
|
||||||
|
Loading…
Reference in New Issue
Block a user