diff --git a/__tests__/bin/vip-config-envvar-delete.js b/__tests__/bin/vip-config-envvar-delete.js index e93f5fd6e..273bd77df 100644 --- a/__tests__/bin/vip-config-envvar-delete.js +++ b/__tests__/bin/vip-config-envvar-delete.js @@ -164,7 +164,6 @@ describe( 'deleteEnvVarCommand', () => { await expect( () => deleteEnvVarCommand( args, opts ) ).rejects.toEqual( 'EXIT' ); expect( validateNameWithMessage ).toHaveBeenCalledWith( name ); - // $FlowIgnore[method-unbinding] No idea how to fix this expect( process.exit ).toHaveBeenCalledWith( 1 ); expect( promptForValue ).not.toHaveBeenCalled(); diff --git a/__tests__/bin/vip-config-envvar-set.js b/__tests__/bin/vip-config-envvar-set.js index 6ffb0dcc9..eee2e7bd0 100644 --- a/__tests__/bin/vip-config-envvar-set.js +++ b/__tests__/bin/vip-config-envvar-set.js @@ -113,7 +113,6 @@ describe( 'setEnvVarCommand', () => { it( 'validates the name, prompts for confirmation, sets the variable, and prints success', async () => { const name = 'TEST_VARIABLE'; - // $FlowIgnore[method-unbinding] No idea how to fix this const value = 'test value'; setFixtures( name ); @@ -203,7 +202,6 @@ describe( 'setEnvVarCommand', () => { await expect( () => setEnvVarCommand( args, opts ) ).rejects.toEqual( 'EXIT' ); expect( validateNameWithMessage ).toHaveBeenCalledWith( name ); - // $FlowIgnore[method-unbinding] No idea how to fix this expect( process.exit ).toHaveBeenCalledWith( 1 ); expect( promptForValue ).not.toHaveBeenCalled(); diff --git a/src/bin/vip-app-list.js b/src/bin/vip-app-list.js index b92c69edb..4e5dca3ff 100755 --- a/src/bin/vip-app-list.js +++ b/src/bin/vip-app-list.js @@ -20,7 +20,6 @@ command( { format: true } ).argv( process.argv, async () => { let response; try { response = await api.query( { - // $FlowFixMe: gql template is not supported by flow query: gql` query Apps($first: Int, $after: String) { apps(first: $first, after: $after) { diff --git a/src/bin/vip-sync.js b/src/bin/vip-sync.js index 2fb4a7ab0..ff0446d50 100755 --- a/src/bin/vip-sync.js +++ b/src/bin/vip-sync.js @@ -36,7 +36,6 @@ command( { try { await api.mutate( { - // $FlowFixMe: gql template is not supported by flow mutation: gql` mutation SyncEnvironmentMutation($input: AppEnvironmentSyncInput) { syncEnvironment(input: $input) { @@ -118,7 +117,6 @@ command( { // The rest of the iterations are just for moving the spinner api .query( { - // $FlowFixMe: gql template is not supported by flow query: gql` query App($id: Int, $sync: Int) { app(id: $id) { diff --git a/src/bin/vip-wp.js b/src/bin/vip-wp.js index e854d34cf..55b8d3cfc 100755 --- a/src/bin/vip-wp.js +++ b/src/bin/vip-wp.js @@ -93,7 +93,6 @@ const getTokenForCommand = async ( appId, envId, command ) => { const api = await API(); return api.mutate( { - // $FlowFixMe: gql template is not supported by flow mutation: gql` mutation TriggerWPCLICommandMutation($input: AppEnvironmentTriggerWPCLICommandInput) { triggerWPCLICommandOnAppEnvironment(input: $input) { @@ -118,7 +117,6 @@ const getTokenForCommand = async ( appId, envId, command ) => { const cancelCommand = async guid => { const api = await API(); return api.mutate( { - // $FlowFixMe: gql template is not supported by flow mutation: gql` mutation cancelWPCLICommand($input: CancelWPCLICommandInput) { cancelWPCLICommand(input: $input) { diff --git a/src/lib/cli/command.js b/src/lib/cli/command.js index 886be85c1..5caff8aad 100644 --- a/src/lib/cli/command.js +++ b/src/lib/cli/command.js @@ -172,7 +172,6 @@ args.argv = async function ( argv, cb ) { try { res = await api.query( { - // $FlowFixMe: gql template is not supported by flow query: gql`query Apps( $first: Int, $after: String ) { apps( first: $first, after: $after ) { total