Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Mar 25, 2024
1 parent a508e83 commit a6468e2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/commands/schema/generate/tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
*/

import fs from 'node:fs';
import path from 'node:path'
import path from 'node:path';

import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
import { Messages } from '@salesforce/core';
import type { CustomTab } from 'jsforce/api/metadata';
import { isTabsFolder } from '../../../shared/flags.js';
import { convertJsonToXml } from '../../../shared/convert.js';

Messages.importMessagesDirectoryFromMetaUrl(import.meta.url)
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
const messages = Messages.loadMessages('@salesforce/plugin-sobject', 'generate.tab');

export type GenerateTabResult = {
Expand Down
4 changes: 2 additions & 2 deletions test/nuts/fs.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/

import path from 'node:path';
import fs from 'node:fs';
import path from 'node:path';
import fs from 'node:fs';
import { TestSession } from '@salesforce/cli-plugins-testkit';
import { expect } from 'chai';
import {
Expand Down
4 changes: 2 additions & 2 deletions test/shared/flags.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
import {join, sep, resolve} from 'node:path';
import { join, sep, resolve } from 'node:path';

import { expect } from 'chai';
import { Messages, SfError } from '@salesforce/core';
import { labelValidation, isObjectsFolder, isTabsFolder } from '../../src/shared/flags.js';

Messages.importMessagesDirectoryFromMetaUrl(import.meta.url)
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
const messages = Messages.loadMessages('@salesforce/plugin-sobject', 'flags');

describe('flag tests', () => {
Expand Down
6 changes: 2 additions & 4 deletions test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"extends": "@salesforce/dev-config/tsconfig-test-strict-esm",
"include": [
"./**/*.ts"
],
"include": ["./**/*.ts"],
"compilerOptions": {
"skipLibCheck": true
}
}
}

0 comments on commit a6468e2

Please sign in to comment.