更新 files_utils.py
This commit is contained in:
@@ -10,5 +10,6 @@ def get_path(script_name):
|
|||||||
return script_path
|
return script_path
|
||||||
|
|
||||||
def read_javascript(script_path):
|
def read_javascript(script_path):
|
||||||
|
with open(script_path, "r") as file:
|
||||||
|
script_code = file.read()
|
||||||
|
return script_code
|
||||||
|
|||||||
Reference in New Issue
Block a user