for reasons to me unknown, eslint doesn't work,
so manually fixed the file
This commit is contained in:
parent
da5d53898a
commit
463ea5d416
1 changed files with 4 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
||||||
import { exec as _exec } from 'child_process';
|
import { exec as _exec } from 'child_process'
|
||||||
import { promisify } from 'util';
|
import { promisify } from 'util'
|
||||||
|
|
||||||
const exec = promisify(_exec);
|
const exec = promisify(_exec)
|
||||||
|
|
||||||
export async function isNpx() {
|
export async function isNpx() {
|
||||||
const output = await exec('npm list -g musescore-downloader')
|
const output = await exec('npm list -g musescore-downloader')
|
||||||
return output.stdout.includes('(empty)');
|
return output.stdout.includes('(empty)')
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function installedVersion() {
|
export async function installedVersion() {
|
||||||
|
|
Loading…
Reference in a new issue