percy / cli

The Percy CLI is used to interact with, and upload snapshots to, percy.io via the command line.
https://docs.percy.io/docs/cli-overview
70 stars 43 forks source link

static.ignore option doesn't work #1537

Closed bubafinder closed 6 months ago

bubafinder commented 6 months ago

The problem

The static.ignore option from config doesn't work as expected and how is explained in the documentation

Environment

Details

config file:

version: 2
percy:
  defer-uploads: true
snapshot:
  minHeight: 2000
  percyCSS: ""
  enable-javascript: false
  disableShadowDOM: false
  percy-css: ""
discovery:
  allowedHostnames: []
  disallowedHostnames: []
  networkIdleTimeout: 500
upload:
  files: "**/*.{png,jpg,jpeg,gif}"
  ignore: '**/*.{css,js}'
  stripExtensions: false
static:
  base-url: /example/
  ignore: '**/*.{css,js}'

Log

[percy] Invalid config:
[percy] - static.ignore: unknown property
[Percy] Percy has started!