Skip to content

Commit

Permalink
fixup! fixup! feat: show full content of .gitconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
akurinnoy committed Dec 6, 2024
1 parent 1305514 commit c5f34a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
overflow: auto;
width: 100%;
height: 100%;
max-height: 50vh;
}

.basicViewer > div {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export class BasicViewer extends React.PureComponent<Props> {
return EditorState.create({
doc: this.props.value,
extensions: [

Check failure on line 55 in packages/dashboard-frontend/src/components/BasicViewer/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test-yarn-v1 (18.x)

Replace `⏎········syntaxHighlighting(defaultHighlightStyle),⏎········EditorState.readOnly.of(true),⏎······` with `syntaxHighlighting(defaultHighlightStyle),·EditorState.readOnly.of(true)`

Check failure on line 55 in packages/dashboard-frontend/src/components/BasicViewer/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test (20.x)

Replace `⏎········syntaxHighlighting(defaultHighlightStyle),⏎········EditorState.readOnly.of(true),⏎······` with `syntaxHighlighting(defaultHighlightStyle),·EditorState.readOnly.of(true)`

Check failure on line 55 in packages/dashboard-frontend/src/components/BasicViewer/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test-yarn-v1 (20.x)

Replace `⏎········syntaxHighlighting(defaultHighlightStyle),⏎········EditorState.readOnly.of(true),⏎······` with `syntaxHighlighting(defaultHighlightStyle),·EditorState.readOnly.of(true)`
lineNumbers(),
syntaxHighlighting(defaultHighlightStyle),
EditorState.readOnly.of(true),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export class GitConfigViewer extends React.PureComponent<Props> {
*/
private fromGitConfig(gitConfig: api.IGitConfig['gitconfig']): string {
const serializer = new ini.Serializer();
const gitconfigStr = serializer.serialize(gitConfig);
const gitconfigStr = serializer.serialize(gitConfig)

Check failure on line 32 in packages/dashboard-frontend/src/pages/UserPreferences/GitConfig/Viewer/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test-yarn-v1 (18.x)

Insert `⏎······`

Check failure on line 32 in packages/dashboard-frontend/src/pages/UserPreferences/GitConfig/Viewer/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test (20.x)

Insert `⏎······`

Check failure on line 32 in packages/dashboard-frontend/src/pages/UserPreferences/GitConfig/Viewer/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test-yarn-v1 (20.x)

Insert `⏎······`
.replace(/\n/g, '\n ')
.replace(/ {4}\[/g, '[');
return gitconfigStr;
}

Expand Down

0 comments on commit c5f34a5

Please sign in to comment.