Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit 17f236c

Browse files
authored
Merge pull request #20 from peluprvi/patch-1
Fix typo when importing font
2 parents a3ec416 + 90150c5 commit 17f236c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ module.exports = (api, opts, rootOpts) => {
142142
const lines = content.split(/\r?\n/g).reverse()
143143

144144
const lastLink = lines.findIndex(line => line.match(/^\s*<link/))
145-
lines[lastLink] += '\n <link href="https://fonts.googleapis.com/css?family=Roboto:100:300,400,500,700,900|Material+Icons" rel="stylesheet">'
145+
lines[lastLink] += '\n <link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons" rel="stylesheet">'
146146

147147
content = lines.reverse().join('\n')
148148
fs.writeFileSync(indexPath, content, { encoding: 'utf8' })

0 commit comments

Comments
 (0)