Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-blunden committed Oct 23, 2018
1 parent 191444a commit 536f563
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async function main(): Promise<void> {
'',
'[*.md]',
'trim_trailing_whitespace = false',
''
'',
].join('\n')
)

Expand Down Expand Up @@ -164,7 +164,7 @@ async function main(): Promise<void> {
await writeFile(
'src/extension.ts',
[
'import * as sourcegraph from \'sourcegraph\'',
"import * as sourcegraph from 'sourcegraph'",
'',
'export function activate(): void {',
" sourcegraph.languages.registerHoverProvider(['*'], {",
Expand All @@ -173,7 +173,7 @@ async function main(): Promise<void> {
'}',
'',
'// Learn what else is possible by visiting the [Sourcegraph extension documentation](https://github.com/sourcegraph/sourcegraph-extension-docs)',
''
'',
].join('\n')
)
} catch (err) {
Expand Down Expand Up @@ -205,7 +205,7 @@ async function main(): Promise<void> {
const readme = [
`# ${title}`,
'',
description[description.length-1] === '.' ? description : description + '.',
description[description.length - 1] === '.' ? description : description + '.',
'',
'## Prerequisites',
'',
Expand Down Expand Up @@ -237,7 +237,7 @@ async function main(): Promise<void> {
'## Sourecgraph extension API',
'',
'Visit the [Sourcegraph extension documentation](https://github.com/sourcegraph/sourcegraph-extension-docs) and check out some [Sourcegraph extension samples](https://github.com/sourcegraph/sourcegraph-extension-samples).',
''
'',
].join('\n')
await writeFile('README.md', readme)
}
Expand Down

0 comments on commit 536f563

Please sign in to comment.