aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/scripts/postpublish.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/connect/scripts/postpublish.js')
-rw-r--r--packages/connect/scripts/postpublish.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/connect/scripts/postpublish.js b/packages/connect/scripts/postpublish.js
index 869bad099..01c349cb8 100644
--- a/packages/connect/scripts/postpublish.js
+++ b/packages/connect/scripts/postpublish.js
@@ -19,7 +19,7 @@ postpublish_utils
.then(function(release) {
console.log('POSTPUBLISH: Release successful, generating docs...');
const jsonFilePath = __dirname + '/../' + postpublish_utils.generatedDocsDirectoryName + '/index.json';
- return execAsync('JSON_FILE_PATH=' + jsonFilePath + ' PROJECT_DIR=' + __dirname + '/.. yarn docs:json', {
+ return execAsync('JSON_FILE_PATH=' + jsonFilePath + ' yarn docs:json', {
cwd,
});
})