Skip to content

Commit b4363d4

Browse files
feat(generate_docs): Attempt to fix travis: use ~/.docgen instead of temp dir
1 parent 36c8108 commit b4363d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate_docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const TYPEDOC_CONFIG = JSON.parse(fs.readFileSync('./typedoc.json'));
2323
const PACKAGE_DIR = process.cwd();
2424
const DOWNSTREAM_CACHE = path.join(PACKAGE_DIR, '.downstream_cache');
2525
const IS_TRAVIS = !!process.env.TRAVIS;
26-
const DOCGEN_DIR = IS_TRAVIS ? path.join('~', '.docgen') ? tmp.dirSync().name;
26+
const DOCGEN_DIR = IS_TRAVIS ? path.join('~', '.docgen') : tmp.dirSync().name;
2727
const DOCGEN_PACKAGE_DIR = path.join(DOCGEN_DIR, kebob(PACKAGE_JSON.name));
2828

2929
const requiredKeys = [ 'typedoc', 'typedoc.generateOptions' ];

0 commit comments

Comments
 (0)