File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -333,12 +333,12 @@ jobs:
333
333
- name : Connect to PostgreSQL
334
334
run : |
335
335
timeout 5s ./target/debug/site 'postgresql://postgres:postgres@localhost:5432/postgres' 2>&1 | tee -a log || true
336
- grep -Fxq "Loading complete but no data identified; exiting ." log
336
+ grep -Fxq "Warning: loading complete but no data identified." log
337
337
338
338
- name : Connect to SQLite
339
339
run : |
340
340
timeout 5s ./target/debug/site 2>&1 | tee -a log || true
341
- grep -Fxq "Loading complete but no data identified; exiting ." log
341
+ grep -Fxq "Warning: loading complete but no data identified." log
342
342
343
343
- name : Build Postgres to SQLite exporter
344
344
run : cargo build --bin postgres-to-sqlite
Original file line number Diff line number Diff line change @@ -42,8 +42,7 @@ async fn main() {
42
42
let commits = res. index . load ( ) . commits ( ) . len ( ) ;
43
43
let artifacts = res. index . load ( ) . artifacts ( ) . count ( ) ;
44
44
if commits + artifacts == 0 {
45
- eprintln ! ( "Loading complete but no data identified; exiting." ) ;
46
- std:: process:: exit ( 1 ) ;
45
+ eprintln ! ( "Warning: loading complete but no data identified." ) ;
47
46
}
48
47
eprintln ! ( "Loading complete; found {} artifacts" , commits + artifacts) ;
49
48
eprintln ! (
You can’t perform that action at this time.
0 commit comments