Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsca committed Oct 23, 2019
1 parent 3f7ee32 commit 8d2dbbd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions hecto/main.py
Expand Up @@ -24,16 +24,17 @@
"render": ["*.tmpl"],
"exclude": [
"~*",
"*.py[co]",
"~*/*",
".*",
".*/*",
"__pycache__",
"__pycache__/*",
".git",
".git/*",
".DS_Store",
".svn",
".hg",
],
"include": [],
"include": [
".gitignore",
".gittouch",
".touch",
],
"skip_if_exists": [],
}

Expand Down Expand Up @@ -148,7 +149,7 @@ def resolve_source_path(src_path):
def copy_local(
src_path,
dst_path,
data,
data=None,
*,
render=None,
exclude=None,
Expand Down
2 changes: 1 addition & 1 deletion hecto/utils/load_config.py
Expand Up @@ -68,5 +68,5 @@ def _load_user_defaults(src_files):
path = Path(path)
if not path.exists():
continue
return yaml.safe_load(path.read_text())
return yaml.safe_load(path.read_text()) or {}
return {}

0 comments on commit 8d2dbbd

Please sign in to comment.