Skip to content

Commit

Permalink
Make flow comment headers consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Giancarlo Anemone committed Jul 22, 2020
1 parent 42552a0 commit b8ee05d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev-test/githunt/flow.flow.js
@@ -1,4 +1,4 @@
/* @flow */
// @flow

// @flow

Expand Down
2 changes: 1 addition & 1 deletion dev-test/test-schema/flow-types.flow.js
@@ -1,4 +1,4 @@
/* @flow */
// @flow

import { type GraphQLResolveInfo } from 'graphql';
export type $RequireFields<Origin, Keys> = $Diff<Origin, Keys> &
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/flow/flow/src/index.ts
Expand Up @@ -11,7 +11,7 @@ export const plugin: PluginFunction<FlowPluginConfig, Types.ComplexPluginOutput>
documents: Types.DocumentFile[],
config: FlowPluginConfig
) => {
const header = `/* @flow */\n\n`;
const header = `// @flow \n\n`;
const printedSchema = printSchema(schema);
const astNode = parse(printedSchema);
const visitor = new FlowVisitor(schema, config);
Expand Down

0 comments on commit b8ee05d

Please sign in to comment.