Skip to content

Commit a3a46f2

Browse files
committed
Updated return val in example logs
1 parent 906888d commit a3a46f2

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

data-languages/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def get_lang_from_path(filepath):
7070

7171
print(get_lang_from_path('steam.vdf')) # => Valve Data Format
7272
print(get_lang_from_path('Sublime.sublime-snippet')) # => XML
73-
print(get_lang_from_path('README.md')) # => None (use prose-languages pkg)
73+
print(get_lang_from_path('README.md')) # => [] (use prose-languages pkg)
7474
```
7575

7676
<hr>

markup-languages/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def get_lang_from_path(filepath):
7070

7171
print(get_lang_from_path('index.html')) # => HTML
7272
print(get_lang_from_path('style.css')) # => CSS
73-
print(get_lang_from_path('script.js')) # => None (use programming-languages pkg)
73+
print(get_lang_from_path('script.js')) # => [] (use programming-languages pkg)
7474
```
7575

7676
<hr>

programming-languages/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def get_lang_from_path(filepath):
7070

7171
print(get_lang_from_path('main.rs')) # => Rust
7272
print(get_lang_from_path('script.kt')) # => Kotlin
73-
print(get_lang_from_path('data.avsc')) # => None (use data-languages pkg)
73+
print(get_lang_from_path('data.avsc')) # => [] (use data-languages pkg)
7474
```
7575

7676
<hr>

prose-languages/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def get_lang_from_path(filepath):
7070

7171
print(get_lang_from_path('document.adoc')) # => AsciiDoc
7272
print(get_lang_from_path('README.md')) # => Markdown
73-
print(get_lang_from_path('index.mdx')) # => None (use markup-languages pkg)
73+
print(get_lang_from_path('index.mdx')) # => [] (use markup-languages pkg)
7474
```
7575

7676
<hr>

0 commit comments

Comments
 (0)