Skip to content

Commit 97417fe

Browse files
author
bweigel
committed
- migrates tests from bats to tape
1 parent 337cd46 commit 97417fe

File tree

10 files changed

+1439
-693
lines changed

10 files changed

+1439
-693
lines changed

lib/pip.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ function installRequirements(targetFolder, serverless, options) {
281281
* @return {string}
282282
*/
283283
function dockerPathForWin(options, path) {
284-
if (process.platform === 'win32') {
284+
if (process.platform === 'win32' && options.dockerizePip) {
285285
return `"${path.replace(/\\/g, '/')}"`;
286286
} else if (process.platform === 'win32' && !options.dockerizePip) {
287287
return path;

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"main": "index.js",
3939
"bin": {},
4040
"scripts": {
41-
"test": "node test.js && bats test.bats",
41+
"test": "node test.js",
4242
"lint": "eslint *.js lib/*.js && prettier -l index.js lib/*.js || (echo need formatting ; exit 1)",
4343
"format": "prettier --write index.js lib/*.js test.js"
4444
},
@@ -76,4 +76,4 @@
7676
"singleQuote": true,
7777
"parser": "babylon"
7878
}
79-
}
79+
}

0 commit comments

Comments
 (0)