Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
fix: generate valid tmp dir path for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Apr 29, 2022
1 parent 1dad865 commit 5ed27ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ workflows:
- lts
- release-management/test-nut:
name: nuts-on-linux
node_version: lts
sfdx_version: latest
requires:
- release-management/test-package
Expand Down
3 changes: 2 additions & 1 deletion test/nuts/pluginsGenerate.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
import { execCmd } from '@salesforce/cli-plugins-testkit';
import { expect } from 'chai';
import * as shell from 'shelljs';
import * as path from 'path';
import * as os from 'os';

let sfdxPluginDir: string;

describe('plugins:generate', () => {
before(async () => {
sfdxPluginDir = os.tmpdir() + Date.now() + '/sfdxPlugin';
sfdxPluginDir = path.join(os.tmpdir(), Date.now().toString(), '/sfdxPlugin');
});

it('plugins:generate generates a valid sfdx plugin', async () => {
Expand Down

0 comments on commit 5ed27ba

Please sign in to comment.