We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c837c0 commit fc48b11Copy full SHA for fc48b11
1 file changed
src/index.ts
@@ -1,9 +1,9 @@
1
#!/usr/bin/env node
2
3
import 'source-map-support/register';
4
+import * as fs from 'fs';
5
import * as os from 'os';
6
import { Command } from 'commander';
-import { readFileSync } from 'fs';
7
import path, { join } from 'path';
8
import { LicenseType, LicensingClient } from './license-client';
9
import { PromptForSecretInput } from './utilities';
@@ -25,7 +25,7 @@ export * from './android-sdk';
25
export * from './unity-editor';
26
27
const pkgPath = join(__dirname, '..', 'package.json');
28
-const pkg = JSON.parse(readFileSync(pkgPath, 'utf-8'));
+const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8'));
29
const program = new Command();
30
31
program.name('unity-cli')
0 commit comments