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

Commit 8647f42

Browse files
authored
Merge pull request #18 from peluprvi/patch-1
fix tabs to spaces
2 parents 41d9021 + ae20fb7 commit 8647f42

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
@@ -124,7 +124,7 @@ module.exports = (api, opts, rootOpts) => {
124124
const lines = content.split(/\r?\n/g).reverse()
125125

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

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

0 commit comments

Comments
 (0)