diff options
author | 2021-06-08 13:46:37 +0000 | |
---|---|---|
committer | 2021-06-08 13:46:37 +0000 | |
commit | ec5587e62631ce54aec118c8a2524689ae86fedc (patch) | |
tree | 7c1b1e987429dceb8a14c22c19286256ab89b966 | |
parent | 21b0c73a2ac31614e4a2a8da7b73971856cbbfe5 (diff) | |
download | astro-ec5587e62631ce54aec118c8a2524689ae86fedc.tar.gz astro-ec5587e62631ce54aec118c8a2524689ae86fedc.tar.zst astro-ec5587e62631ce54aec118c8a2524689ae86fedc.zip |
[ci] yarn format
-rw-r--r-- | packages/astro/src/snowpack-logger.ts | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/packages/astro/src/snowpack-logger.ts b/packages/astro/src/snowpack-logger.ts index a3dc2b534..2a349e89f 100644 --- a/packages/astro/src/snowpack-logger.ts +++ b/packages/astro/src/snowpack-logger.ts @@ -3,12 +3,13 @@ import { defaultLogLevel } from './logger.js'; const onceMessages = ['Ready!', 'watching for file changes'].map((str) => new RegExp(`\\[snowpack\\](.*?)${str}`)); -const neverWarn = new RegExp('(' - + /(run "snowpack init" to create a project config file.)|/.source - + /(astro\/dist\/internal\/__astro_component.js: Unscannable package import found.)|/.source - + /(Cannot call a namespace \('loadLanguages'\))|/.source - + /('default' is imported from external module 'node-fetch' but never used)/.source - + ')' +const neverWarn = new RegExp( + '(' + + /(run "snowpack init" to create a project config file.)|/.source + + /(astro\/dist\/internal\/__astro_component.js: Unscannable package import found.)|/.source + + /(Cannot call a namespace \('loadLanguages'\))|/.source + + /('default' is imported from external module 'node-fetch' but never used)/.source + + ')' ); export function configureSnowpackLogger(logger: typeof snowpackLogger) { |