snapcraft init doesn't fail if there is a .snapcraft.yaml file

Bug #1604326 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Low
Simon Quigley

Bug Description

$ touch .snapcraft.yaml
$ snapcraft init
Created snapcraft.yaml.
Edit the file to your liking or run `snapcraft` to get started

Instead of creating the snapcraft.yaml, it should fail with:

.snapcraft.yaml already exists!

Tags: bitesize
Simon Quigley (tsimonq2)
description: updated
Changed in snapcraft:
assignee: nobody → Simon Quigley (tsimonq2)
status: New → In Progress
Revision history for this message
Simon Quigley (tsimonq2) wrote :
Leo Arias (elopio)
tags: added: bitesize
Changed in snapcraft:
milestone: none → 2.14
importance: Undecided → Low
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.