Skip to content

Commit 8b13b82

Browse files
committed
refactor(apple): name the selection link in the toolchain hint by its constant
1 parent 2d51640 commit 8b13b82

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎packages/apple-runner/src/runner-toolchain-identity.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ export const XCODE_SELECT_LINK_PATH = '/var/db/xcode_select_link';
4646
/** Where `xcrun` looks when neither `DEVELOPER_DIR` nor the selection link names a developer dir. */
4747
export const DEFAULT_DEVELOPER_DIR = '/Applications/Xcode.app/Contents/Developer';
4848

49-
const TOOLCHAIN_FILE_HINT =
50-
'The Apple runner cache is keyed on the toolchain version, so a cache decision cannot be made without it. Check that `xcode-select -p` or DEVELOPER_DIR names a full Xcode install. If /var/db/xcode_select_link names a deleted Xcode, run `sudo xcode-select -s <Xcode.app>`.';
49+
const TOOLCHAIN_FILE_HINT = `The Apple runner cache is keyed on the toolchain version, so a cache decision cannot be made without it. Check that \`xcode-select -p\` or DEVELOPER_DIR names a full Xcode install. If ${XCODE_SELECT_LINK_PATH} names a deleted Xcode, run \`sudo xcode-select -s <Xcode.app>\`.`;
5150

5251
type BundleVersion = Readonly<{ version: string; buildVersion: string }>;
5352

0 commit comments

Comments
 (0)