Skip to content

Commit a8d2c32

Browse files
authored
Oleg/feature/feature (#79)
* ores/auto-commit => 'set' * ores/auto-commit => 'set' * temp * ores/auto-commit => 'set' * ores/auto-commit => 'set' * ores/auto-commit => 'set' * ores/auto-commit => 'set' * ores/auto-commit => 'set' * ores/auto-commit => 'set' * ores/auto-commit => 'set' * 0.1.321 * ores/auto-commit => 'set'
1 parent 0f11a7d commit a8d2c32

29 files changed

+364
-153
lines changed

.nlu.json

100644100755
File mode changed.

.r2g/config.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
// note: only include dependencies in this file, which are in your project's package.json file
44
const path = require('path');
55

6-
if (!path.isAbsolute(process.env.MY_R2G_DOCKER_SEARCH_ROOT || '')) {
7-
throw new Error('Please set the env var "MY_R2G_DOCKER_SEARCH_ROOT" to an absolute folder path.');
6+
const envLookup = 'R2G_SEARCH_ROOT';
7+
const searchRootPath = path.resolve(process.env[envLookup] || '');
8+
console.log('r2g search root path:',searchRootPath);
9+
10+
if (!path.isAbsolute(searchRootPath)) {
11+
throw new Error(`Please set the env var "${envLookup}" to an absolute folder path.`);
812
}
913

1014
exports.default = {
1115

12-
searchRoot: path.resolve(process.env.MY_R2G_DOCKER_SEARCH_ROOT),
16+
searchRoot: searchRootPath,
1317
tests: '',
1418
packages: {
1519
"@oresoftware/shell": true,

.r2g/tests/smoke-test.js

100644100755
File mode changed.

Dockerfile.r2g

100644100755
File mode changed.

assets/completion.sh

100644100755
File mode changed.

assets/default.nlu.json

100644100755
File mode changed.

assets/nlu.schema.2.json

100644100755
File mode changed.

assets/nlu.schema.json

100644100755
File mode changed.

assets/shell.sh

100644100755
File mode changed.

docs/in-detail.md

100644100755
File mode changed.

0 commit comments

Comments
 (0)