mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
Add --info flag to display file info (compiled code/source map) (#1647)
This commit is contained in:
parent
16ed1f2545
commit
3650bae5f6
9 changed files with 69 additions and 0 deletions
|
@ -20,6 +20,9 @@ def read_test(file_name):
|
|||
lines = test_file.splitlines()
|
||||
test_dict = {}
|
||||
for line in lines:
|
||||
if line.strip().startswith("#"):
|
||||
# skip comments
|
||||
continue
|
||||
key, value = re.split(r":\s+", line)
|
||||
test_dict[key] = value
|
||||
return test_dict
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue