Skip to content

Commit

Permalink
Use path from repo root for Actions (github#20262)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsese authored Jul 2, 2021
1 parent 4841dd2 commit cda09b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/graphql/utils/process-schemas.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { parse, buildASTSchema } = require('graphql')
const helpers = require('./schema-helpers')
const fs = require('fs')

const externalScalars = JSON.parse(fs.readFileSync('../../../lib/graphql/non-schema-scalars.json'))
const externalScalars = JSON.parse(fs.readFileSync('./lib/graphql/non-schema-scalars.json'))
.map(scalar => {
scalar.id = helpers.getId(scalar.name)
scalar.href = helpers.getFullLink('scalars', scalar.id)
Expand Down
2 changes: 1 addition & 1 deletion script/graphql/utils/schema-helpers.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const renderContent = require('../../../lib/render-content')
const fs = require('fs')
const graphqlTypes = JSON.parse(fs.readFileSync('../../../lib/graphql/types.json'))
const graphqlTypes = JSON.parse(fs.readFileSync('./lib/graphql/types.json'))
const {
isScalarType,
isObjectType,
Expand Down

0 comments on commit cda09b5

Please sign in to comment.