Skip to content

Commit 295177e

Browse files
committed
Fix get-graphql script
1 parent 95a1060 commit 295177e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/get-graphql-schemas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ async function fetchFiles() {
170170
*/
171171
async function fetchFilesFromLocal() {
172172
for (const schema of schemas) {
173-
const localRepoDirectory = execSync(`/opt/dev/bin/dev cd --no-chdir ${schema.repo === 'world' ? '//' : schema.repo}`).toString().split('/areas')[0].trim()
173+
const localRepoDirectory = execSync(`/opt/dev/bin/dev cd --no-chdir ${schema.repo}`).toString().split('/areas')[0].trim()
174174
const sourcePath = path.join(localRepoDirectory, schema.pathToFile)
175175
console.log('Copying', sourcePath, 'to', schema.localPath)
176176
fs.copyFileSync(sourcePath, schema.localPath)

0 commit comments

Comments
 (0)