@suffolklitlab/alkiln 5.0.0-experimental5 → 5.0.0-experimental6
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/lib/scope.js +4 -1
- package/package.json +1 -1
package/lib/scope.js
CHANGED
|
@@ -1794,8 +1794,11 @@ module.exports = {
|
|
|
1794
1794
|
return false;
|
|
1795
1795
|
}
|
|
1796
1796
|
|
|
1797
|
+
// `/usr/share/docassemble/files/playgroundsources/${session_vars.get_user_id()}/${session_vars.get_user_project_name()}/*.feature`);
|
|
1798
|
+
// `/tmp/playgroundsources/${session_vars.get_user_id()}/${session_vars.get_user_project_name()}/*.feature`);
|
|
1799
|
+
|
|
1797
1800
|
// Make sure sources directory exists
|
|
1798
|
-
let dirs = fg.sync([
|
|
1801
|
+
let dirs = fg.sync([ `${ process.cwd() }/**/docassemble/**/data/sources` ], { onlyFiles: false });
|
|
1799
1802
|
if ( dirs.length === 0 ) {
|
|
1800
1803
|
await scope.addToReport( scope, {
|
|
1801
1804
|
type: `warning`,
|
package/package.json
CHANGED