Skip to content

Commit 18ac1db

Browse files
Thierry Chappuisfreezed
authored andcommitted
Re-added --fatal=warnings
1 parent 950b87a commit 18ac1db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
def build(c):
88
"""Builds the local Pelican blog."""
99
c.run('echo "Publishing your Pelican website"')
10-
c.run(f'pelican content -s pelicanconf.py')
10+
c.run(f'pelican content -s pelicanconf.py --fatal=warnings')
1111

1212
@task
1313
def publish(c):
1414
"""Builds the Pelican blog with deployment settings."""
1515
c.run('echo "Building your Pelican website"')
16-
c.run(f'pelican content -s publishconf.py')
16+
c.run(f'pelican content -s publishconf.py --fatal=warnings')
1717

1818
@task
1919
def autoreload(c):

0 commit comments

Comments
 (0)