Skip to content

Commit db9aabc

Browse files
fix: update CLI path to handle CI environment
Co-Authored-By: [email protected] <[email protected]>
1 parent a6bf9d9 commit db9aabc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration-tests/helpers/test-helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const CONFIG_FOLDER_PATH = path.join(os.homedir(), '.box');
2222
const SETTINGS_FILE_PATH = path.join(CONFIG_FOLDER_PATH, 'settings.json');
2323
const ENVIRONMENTS_FILE_PATH = path.join(CONFIG_FOLDER_PATH, 'box_environments.json');
2424

25-
const CLI_PATH = path.resolve(__dirname, '../../../bin/run');
25+
const CLI_PATH = process.env.CI ? '/home/runner/work/boxcli/boxcli/bin/run' : path.resolve(__dirname, '../../bin/run');
2626
const TIMEOUT = 60000; // 60 second timeout for operations
2727

2828
const getJWTConfig = () => {

0 commit comments

Comments
 (0)