Skip to content

Commit

Permalink
FIX: publish content script fix skip_deps option
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinnaj94 committed Sep 27, 2024
1 parent 0414df6 commit dcfec22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/zeit/cms/workflow/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ def publish():

if options.skip_deps:
log.info('Deactivating publish dependencies')
mock.patch('zeit.workflow.dependency.Dependencies._find_adapters', return_value=()).start()
mock.patch(
'zeit.cms.workflow.dependency.Dependencies._find_adapters', return_value=()
).start()

if not options.use_checkin_hooks:
log.info('Deactivating checkin hooks')
Expand Down

0 comments on commit dcfec22

Please sign in to comment.