mirror of https://github.com/stashapp/stash.git
Fix travis not validating UI (#653)
* Fix travis not validating UI * Fix lint errors
This commit is contained in:
parent
f1c544affb
commit
54430dbc11
|
@ -16,7 +16,7 @@ before_install:
|
|||
- nvm install 12
|
||||
- travis_retry make pre-ui
|
||||
- make generate
|
||||
- CI=false make ui-only
|
||||
- CI=false make ui-validate ui-only
|
||||
#- go get -v github.com/mgechev/revive
|
||||
script:
|
||||
# left lint off to avoid getting extra dependency
|
||||
|
|
|
@ -222,7 +222,7 @@ export const SceneScrapeDialog: React.FC<ISceneScrapeDialogProps> = (
|
|||
|
||||
// sort by id numerically
|
||||
ret.sort((a, b) => {
|
||||
return parseInt(a) - parseInt(b);
|
||||
return parseInt(a, 10) - parseInt(b, 10);
|
||||
});
|
||||
|
||||
return ret;
|
||||
|
@ -236,7 +236,7 @@ export const SceneScrapeDialog: React.FC<ISceneScrapeDialogProps> = (
|
|||
const ret = _.clone(idList);
|
||||
// sort by id numerically
|
||||
ret.sort((a, b) => {
|
||||
return parseInt(a) - parseInt(b);
|
||||
return parseInt(a, 10) - parseInt(b, 10);
|
||||
});
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue