Skip to content

Commit 8085d0f

Browse files
some fixes
1 parent f774726 commit 8085d0f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

vscode-ext/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function activate(context: vscode.ExtensionContext) {
2020
return;
2121
}
2222

23-
exec(`${exec_path} ${workspacePath} --minify`, (error, stdout, stderr) => {
23+
exec(`${exec_path} --lint ${workspacePath} --minify`, (error, stdout, stderr) => {
2424
if (error || stderr) {
2525
console.error(`[CSS-linter][ERROR]: ${error || stderr}`);
2626
return;

vscode-ext/src/installer.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ export const install = async () => {
6666
const current_ver = await getCurrVer(exec_path);
6767
const latest_ver = await getLatestVer();
6868

69+
console.info(
70+
`[CSS-linter][INFO]: Current version: ${current_ver} Remote version: ${latest_ver}`
71+
);
72+
6973
if (current_ver === latest_ver) {
7074
return;
7175
}

0 commit comments

Comments
 (0)