Skip to content

Commit

Permalink
Pin to @vercel/[email protected], refs #58
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jul 23, 2022
1 parent 831fb8d commit d63b877
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datasette_publish_vercel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def _publish_vercel(
{
"name": project,
"version": 2,
"builds": [{"src": "index.py", "use": "@vercel/python"}],
"builds": [{"src": "index.py", "use": "@vercel/python@3.0.7"}],
"routes": [{"src": "(.*)", "dest": "index.py"}],
},
indent=4,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_publish_vercel.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def test_generate_vercel_json(mock_run, mock_which):
assert json.loads(result.output) == {
"name": "foo",
"version": 2,
"builds": [{"src": "index.py", "use": "@vercel/python"}],
"builds": [{"src": "index.py", "use": "@vercel/python@3.0.7"}],
"routes": [{"src": "(.*)", "dest": "index.py"}],
}

Expand Down

0 comments on commit d63b877

Please sign in to comment.