chore: Update balena-lint

Change-type: patch
This commit is contained in:
Paulo Castro
2021-07-20 14:57:00 +01:00
parent e552e36f7b
commit 3a871a0003
32 changed files with 857 additions and 519 deletions

View File

@ -83,8 +83,9 @@ export default class LocalFlashCmd extends Command {
try {
const info = await execAsync('cat /proc/version');
distroVersion = info.stdout.toLowerCase();
// tslint:disable-next-line: no-empty
} catch {}
} catch {
// pass
}
if (distroVersion.includes('microsoft')) {
throw new ExpectedError(stripIndent`
This command is known not to work on WSL. Please use a CLI release