Skip to content

Commit

Permalink
dev: do not add ./ to relative paths in progress output
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Feb 19, 2021
1 parent 7a97810 commit 5b9a992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cspell/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function nullEmitter() {
function relativeFilename(filename: string, cwd = process.cwd()): string {
const rel = path.relative(cwd, filename);
if (rel.startsWith('..')) return filename;
return '.' + path.sep + rel;
return rel;
}

function reportProgress(p: ProgressItem) {
Expand Down

0 comments on commit 5b9a992

Please sign in to comment.