feat: use ts
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"helloworld-js": {
|
"helloworld-ts": {
|
||||||
"script_name": "helloworld-js",
|
"script_name": "helloworld-ts",
|
||||||
"script_length": 69,
|
"script_length": 69,
|
||||||
"script_sha256": "b301944e64def6c3a1ada4e327a7b2c2e37c576a65da5f797998355c51686f76"
|
"script_sha256": "b301944e64def6c3a1ada4e327a7b2c2e37c576a65da5f797998355c51686f76"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ fn main() -> XResult<()> {
|
|||||||
}
|
}
|
||||||
let abs_dir_entry = std::path::absolute(&dir_entry.path())?;
|
let abs_dir_entry = std::path::absolute(&dir_entry.path())?;
|
||||||
let main_rs = abs_dir_entry
|
let main_rs = abs_dir_entry
|
||||||
.join("main.js");
|
.join("main.ts");
|
||||||
|
|
||||||
script_meta_map.insert(
|
script_meta_map.insert(
|
||||||
script_dir.to_string(),
|
script_dir.to_string(),
|
||||||
|
|||||||
Reference in New Issue
Block a user