-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/mouseover-after-disabled-button
- Loading branch information
Showing
17 changed files
with
172 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* eslint import/no-extraneous-dependencies: [2, {"devDependencies": true}] */ | ||
/* eslint no-confusing-arrow: 0 */ | ||
/* eslint strict: [0, "global"] */ | ||
|
||
'use strict'; | ||
|
||
const Gemini = require('gemini/api'); | ||
const Events = require('gemini/lib/constants/events'); | ||
const handleErrors = require('gemini/lib/cli/errors').handleErrors; | ||
const checkForDeprecations = require('gemini/lib/cli/deprecations').checkForDeprecations; | ||
const handleUncaughtExceptions = require('gemini/lib/cli/errors').handleUncaughtExceptions; | ||
|
||
function exit(code) { | ||
process.exit(code); | ||
} | ||
|
||
function promiseTry(func) { | ||
return new Promise(resolve => resolve(func())); | ||
} | ||
|
||
function runGemini(paths = []) { | ||
handleUncaughtExceptions(); | ||
|
||
return promiseTry(() => { | ||
checkForDeprecations(); | ||
|
||
const gemini = new Gemini(); | ||
gemini.on(Events.INTERRUPT, (data) => { exit(data.exitCode); }); | ||
|
||
return gemini; | ||
}) | ||
.then(gemini => gemini.test(paths, { reporters: [{ name: 'flat' }] })) | ||
.then(stats => stats.failed > 0 ? 2 : 0) | ||
.catch(handleErrors) | ||
.then(exit); | ||
} | ||
|
||
runGemini(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -246,9 +246,3 @@ | |
} | ||
} | ||
} | ||
|
||
.select.select_invalid { | ||
.select__sub { | ||
color: var(--color-error); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.