Prisma1: Confirmation answer ignored on `graphcool delete`

Created on 6 Oct 2017  路  4Comments  路  Source: prisma/prisma1

When issuing the graphcool delete command the project is deleted regardless of the user's input.

image

I checked and the project was actually deleted. The same thing happens if I don't type anything.

Version info: graphcool/0.6.0-beta.3 (linux-x64) node-v8.6.0

Edit: Typing y cancel the deletion

bu2-confirmed arecli

All 4 comments

Thanks for the report!

The same thing happens if I don't type anything.

what do you mean with this?

The same thing happens if I don't type anything.

what do you mean with this?

If I press enter without typing a response the default behavior should be to cancel the operation (as the message says). Right now the project is deleted anyway.

Maybe the text should be updates to 'Are you sure you want to keep cj....?' or 'Do you not want to delete cj....?' or 'Do you confirm that you don't want to stop keeping access to cj...?' :smiling_imp: :rofl:

This is fixed now, the code simply confused y with n.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ragnorc picture ragnorc  路  3Comments

AlessandroAnnini picture AlessandroAnnini  路  3Comments

sedubois picture sedubois  路  3Comments

hoodsy picture hoodsy  路  3Comments

MitkoTschimev picture MitkoTschimev  路  3Comments