File tree Expand file tree Collapse file tree 5 files changed +9
-14
lines changed
python/ray/dashboard/client/src Expand file tree Collapse file tree 5 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 33
44set -euxo pipefail
55
6- FILENAMES=(" $@ " )
6+ ROOT_DIR=" $( cd " $( dirname " ${BASH_SOURCE:- $0 } " ) " || exit ; pwd) /.."
7+ WORKSPACE_DIR=" ${ROOT_DIR} /.."
8+
9+ cd " ${WORKSPACE_DIR} " /python/ray/dashboard/client || exit
10+
711npm ci
812FILENAMES=($( find src -name " *.ts" -or -name " *.tsx" ) )
9- node_modules/.bin/eslint --max-warnings 0 " ${FILENAMES[@]} "
13+ node_modules/.bin/prettier --check " ${FILENAMES[@]} "
14+ node_modules/.bin/prettier --check public/index.html
Original file line number Diff line number Diff line change @@ -57,12 +57,13 @@ import {
5757import { TaskPage } from "./pages/task/TaskPage" ;
5858import { getNodeList } from "./service/node" ;
5959import { lightTheme } from "./theme" ;
60- //adding comment
60+
6161dayjs . extend ( duration ) ;
6262
6363// lazy loading fro prevent loading too much code at once
6464const Actors = React . lazy ( ( ) => import ( "./pages/actor" ) ) ;
6565const CMDResult = React . lazy ( ( ) => import ( "./pages/cmd/CMDResult" ) ) ;
66+
6667// a global map for relations
6768export type GlobalContextType = {
6869 nodeMap : { [ key : string ] : string } ;
Original file line number Diff line number Diff line change @@ -19,5 +19,3 @@ const fn: ReactNode = (
1919) ;
2020
2121export default fn ;
22-
23- export const testingsssss
Original file line number Diff line number Diff line change @@ -4,5 +4,3 @@ import { get } from "./requestHandlers";
44export const getDataDatasets = ( jobId : string ) => {
55 return get < DatasetResponse > ( `api/data/datasets/${ jobId } ` ) ;
66} ;
7-
8- export testdata = ""
Original file line number Diff line number Diff line change @@ -14,13 +14,6 @@ type LabelMap = {
1414 [ key : string ] : string ;
1515} ;
1616
17- type unused = {
18-
19- }
20-
21- type unused2 = {
22- } r
23-
2417export type Raylet = {
2518 numWorkers : number ;
2619 pid : number ;
You can’t perform that action at this time.
0 commit comments