Skip to content

Commit

Permalink
Merge pull request #265 from jvcmanke/main
Browse files Browse the repository at this point in the history
Fix scaffolding on npm install
  • Loading branch information
special-character authored Aug 12, 2020
2 parents cf206d4 + 4fd7012 commit 3a45c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/mst-gql-scaffold.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function main() {
let json
if (input.startsWith("http:") || input.startsWith("https:")) {
const tmpFile = "tmp_schema.json"
const command = `${__dirname}/../node_modules/.bin/apollo client:download-schema --endpoint=${input} ${tmpFile} ${
const command = `${__dirname}/../../.bin/apollo client:download-schema --endpoint=${input} ${tmpFile} ${
header ? `--header=${header}` : "" // the header options MUST be after the output 0_o
}`
child_process.execSync(command)
Expand Down

0 comments on commit 3a45c69

Please sign in to comment.