Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5b9847a

Browse files
authored
fix warnings (#1193)
1 parent2bb594e commit5b9847a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎pgml-dashboard/src/api/cms.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ impl Collection {
7777
path = path.join("README");
7878
}
7979

80-
let path =self.root_dir.join(path.with_extension("md"));
80+
let path =self.root_dir.join(format!("{}.md", path.to_string_lossy()));
8181

8282
self.render(&path, cluster,self).await
8383
}

‎pgml-dashboard/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ mod test {
290290
#[rocket::async_test]
291291
asyncfntest_blogs(){
292292
let client =Client::tracked(rocket().await).await.unwrap();
293-
let response = client.get("/blog/postgresml-raises-4.7M-to-launch-serverless-ai-application-databases-based-on-postgres").dispatch().await;
293+
let response = client.get("/blog/postgresml-raises-usd4.7m-to-launch-serverless-ai-application-databases-based-on-postgres").dispatch().await;
294294
assert_eq!(response.status().code,200);
295295
}
296296
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp