Skip to content

Commit

Permalink
prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
RahulGautamSingh committed Sep 15, 2021
1 parent f3a7cd1 commit 0e71e51
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
28 changes: 27 additions & 1 deletion .vscode/settings.json
Expand Up @@ -14,5 +14,31 @@
},
"omnisharp.autoStart": false,
"jest.autoRun": "off",
"jest.jestCommandLine": "yarn jest"
"jest.jestCommandLine": "yarn jest",
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#ffffff",
"activityBar.activeBorder": "#df9f9f",
"activityBar.background": "#ffffff",
"activityBar.foreground": "#15202b",
"activityBar.inactiveForeground": "#15202b99",
"activityBarBadge.background": "#df9f9f",
"activityBarBadge.foreground": "#15202b",
"editorGroup.border": "#ffffff",
"panel.border": "#ffffff",
"sideBar.border": "#ffffff",
"statusBar.background": "#ffffff",
"statusBar.border": "#ffffff",
"statusBar.debuggingBackground": "#ffffff",
"statusBar.debuggingBorder": "#ffffff",
"statusBar.debuggingForeground": "#15202b",
"statusBar.foreground": "#15202b",
"statusBarItem.hoverBackground": "#e6e6e6",
"tab.activeBorder": "#ffffff",
"titleBar.activeBackground": "#eeeeee",
"titleBar.activeForeground": "#15202b",
"titleBar.border": "#eeeeee",
"titleBar.inactiveBackground": "#eeeeee99",
"titleBar.inactiveForeground": "#15202b99"
},
"peacock.color": "#e6e6e6"
}
8 changes: 6 additions & 2 deletions tools/check-git-version.mjs
Expand Up @@ -12,9 +12,13 @@ const git = simpleGit();
const [gitVersion] = regex.exec(stdout);
if (semver.lt(gitVersion, GIT_MINIMUM_VERSION)) {
if (process.env.CI) {
shell.echo(`::error ::Minimum Git version ${GIT_MINIMUM_VERSION} is required`);
shell.echo(
`::error ::Minimum Git version ${GIT_MINIMUM_VERSION} is required`
);
} else {
throw new Error(`Minimum Git version ${GIT_MINIMUM_VERSION} is required`);
throw new Error(
`Minimum Git version ${GIT_MINIMUM_VERSION} is required`
);
}
}
shell.echo('Found git version: ', gitVersion);
Expand Down

0 comments on commit 0e71e51

Please sign in to comment.