Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
maneesht committed Oct 21, 2024
1 parent c04efda commit 3b6022e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions src/commands/apps-sdkconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,6 @@ export const command = new Command("apps:sdkconfig [platform] [appId]")
.option("-o, --out [file]", "(optional) write config output to a file")
.before(requireAuth)
.action(async (platform = "", appId = "", options: Options): Promise<AppConfigurationData> => {
/**
* 1. If the user has already selected where they want to output to, then skip the autodetection
* 2. If the user hasn't already selected where they want to output to, determine what platform they want.
*/
let outputPath: string | undefined = undefined;
if (options.out === undefined) {
// do auto-download
Expand Down
3 changes: 1 addition & 2 deletions src/management/apps.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,11 @@ function generateWebAppList(counts: number): WebAppMetadata[] {
describe("App management", () => {
let sandbox: sinon.SinonSandbox;
let pollOperationStub: sinon.SinonStub;
let readFileSyncStub: sinon.SinonStub;

beforeEach(() => {
sandbox = sinon.createSandbox();
pollOperationStub = sandbox.stub(pollUtils, "pollOperation").throws("Unexpected poll call");
readFileSyncStub = sandbox.stub(fs, "readFileSync").throws("Unxpected readFileSync call");
sandbox.stub(fs, "readFileSync").throws("Unxpected readFileSync call");
nock.disableNetConnect();
});

Expand Down
1 change: 0 additions & 1 deletion src/management/apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ function parseConfigFromResponse(responseBody: any, platform: AppPlatform): AppC
* Returns information representing the file need to initalize the application.
* @param config the object from `getAppConfig`.
* @param platform the platform the `config` represents.
* @param skipTemplate whether to skip pre-pending the web.js template for web platforms.
* @return the platform-specific file information (name and contents).
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Expand Down

0 comments on commit 3b6022e

Please sign in to comment.