Skip to content

Commit

Permalink
add back display of full path of missing config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Conduitry committed Jul 31, 2022
1 parent f23913f commit 83121c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/kit/src/cli.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import fs from 'fs';
import path from 'path';
import colors from 'kleur';
import sade from 'sade';
import { load_config } from './core/config/index.js';
Expand Down Expand Up @@ -59,7 +60,7 @@ prog
}

if (!fs.existsSync('svelte.config.js')) {
console.warn('Missing svelte.config.js — skipping');
console.warn(`Missing ${path.resolve('svelte.config.js')} — skipping`);
return;
}

Expand Down

0 comments on commit 83121c4

Please sign in to comment.