We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e31a514 commit b659f7eCopy full SHA for b659f7e
test.bats
@@ -7,13 +7,15 @@ setup() {
7
export LC_ALL=C.UTF-8
8
export LANG=C.UTF-8
9
fi
10
+ export USR_CACHE_DIR=`node -e 'console.log(require("./lib/shared").getUserCachePath())'`
11
}
12
13
teardown() {
14
rm -rf puck puck2 puck3 node_modules .serverless .requirements.zip .requirements-cache
15
if [ -f serverless.yml.bak ]; then mv serverless.yml.bak serverless.yml; fi
- # Remove our items in appdirs user cache dir
16
- node -e 'require("../../lib/clean").cleanupStaticCache()'
+ if [ -d "${USR_CACHE_DIR}" ] ; then
17
+ rm -Rf "${USR_CACHE_DIR}"
18
+ fi
19
20
21
@test "py3.6 can package flask with default options" {
0 commit comments