Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 91eca49

Browse files
committed
Fix paren issue from PR
- Also restrict prettier to 1.x until we've closed out some PRs.
1 parent 5048c6d commit 91eca49

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/pip.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ function generateRequirementsFile(
6363
) {
6464
if (
6565
options.usePoetry &&
66-
fse.existsSync(
67-
path.join(servicePath, 'pyproject.toml') && isPoetryProject(servicePath)
68-
)
66+
fse.existsSync(path.join(servicePath, 'pyproject.toml')) &&
67+
isPoetryProject(servicePath)
6968
) {
7069
filterRequirementsFile(
7170
path.join(servicePath, '.serverless/requirements.txt'),

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"format": "prettier --write '{.,lib}/*.{js,md}'"
4545
},
4646
"devDependencies": {
47-
"eslint": "^6.8.0",
47+
"eslint": "^5.16.0",
4848
"prettier": "^1",
4949
"cross-spawn": "*",
5050
"tape": "*",

0 commit comments

Comments
 (0)