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 e252872 commit d51203aCopy full SHA for d51203a
worker.js
@@ -5,6 +5,10 @@ var path = require('path')
5
module.exports = {
6
init: function (config, job, context, done) {
7
var venvDir = path.join(context.baseDir, '.venv')
8
+ var test = undefined
9
+ if (config && config.test !== 'none') {
10
+ test = config.test
11
+ }
12
done(null, {
13
path: [path.join(__dirname, 'thirdparty'),
14
path.join(venvDir, 'bin')],
@@ -17,7 +21,7 @@ module.exports = {
17
21
}
18
22
done(null, false)
19
23
},
20
- test: (config && config.test !== 'none') ? config.test : undefined
24
+ test: test
25
})
26
27
autodetect: {
0 commit comments