Skip to content

Commit 6595b8b

Browse files
authored
Merge pull request #2 from b-per/fix/constraints-and-diaplay-tables
2 parents 2c5422a + 76201bb commit 6595b8b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

differ.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import json
2+
from pathlib import Path
23

34
import jsondiff
45
import pandas as pd
@@ -11,6 +12,9 @@
1112
from functions import tidy
1213
from functions.flatten import flatten_keys
1314

15+
# we need to make sure that `~/.dbt` exists so that settings Flags doesn't crash
16+
Path("~/.dbt").expanduser().mkdir(exist_ok=True)
17+
1418
flags = Flags.from_dict(CliCommand.LIST, {})
1519
set_flags(flags)
1620

0 commit comments

Comments
 (0)