aneka 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aneka",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "cemacemla",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -18,7 +18,7 @@ module.exports = async function (dir, transformer, options = {}) {
18
18
  if (filter(strippeds, f => f === stripped).length > 1) throw new (`File '${stripped}.{json,js}' already used`)
19
19
  try {
20
20
  let mod = require(file)
21
- if (isFunction(mod)) mod = await mod(options.module)
21
+ if (isFunction(mod)) mod = await mod(options.scope)
22
22
  result.push(await transformer(file, mod, options.transformer))
23
23
  } catch (err) {
24
24
  throw err