Skip to content

Commit

Permalink
fix(main): parse json manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
calebmer committed Apr 27, 2016
1 parent c8e028a commit 4d7adac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { parse as parseConnectionString } from 'pg-connection-string'
import createGraphqlSchema from './createGraphqlSchema.js'
import createServer from './createServer.js'

const manifest = readFileSync(path.resolve(__dirname, '../package.json'))
const manifest = JSON.parse(readFileSync(path.resolve(__dirname, '../package.json')))

const main = async () => {
const program = new Command('postgraphql')
Expand Down

0 comments on commit 4d7adac

Please sign in to comment.