Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
fix: delete manifest if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 6, 2018
1 parent 6c36902 commit 79d6aa0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/manifest.ts
Expand Up @@ -12,6 +12,7 @@ export default class Manifest extends Command {
]

async run() {
try { fs.unlinkSync('.anycli.manifest.json') } catch {}
const {args} = this.parse(Manifest)
const root = path.resolve(args.path)
let plugin = new Config.Plugin({root, type: 'dev', ignoreManifest: true})
Expand Down

0 comments on commit 79d6aa0

Please sign in to comment.