Skip to content

Commit

Permalink
run prettier on yaml files (#16510)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachmari authored Nov 19, 2020
1 parent 9332c62 commit 4de2712
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/graphql/update-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ async function main () {
updateStaticFile(previewsJson, path.join(graphqlStaticDir, 'previews.json'))
updateStaticFile(upcomingChangesJson, path.join(graphqlStaticDir, 'upcoming-changes.json'))
updateStaticFile(prerenderedObjects, path.join(graphqlStaticDir, 'prerendered-objects.json'))

// Ensure the YAML linter runs before checkinging in files
execSync('npx prettier -w "**/*.{yml,yaml}"')
}

// get latest from github/github
Expand Down

0 comments on commit 4de2712

Please sign in to comment.