Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Jan 17, 2025
1 parent 6c22740 commit 9a582e8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ci/base-images/sle/Dockerfile.ruby25
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV LC_ALL=en_US.UTF-8 \
LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8 \
ATOM_RUBY_VERSION=$ATOM_RUBY_VERSION \
ATOM_RUBY_HOME=/root/.rbenv/versions/${ATOM_RUBY_VERSION} \
ATOM_RUBY_HOME=/root/.rbenv/versions/3.4.1 \
BUNDLE_SILENCE_ROOT_WARNING=true \
JAVA_OPTIONS="-Dhttps.protocols=TLSv1.1,TLSv1.2" \
RUBY_BUILD_BUILD_PATH="/tmp/rbenv" \
Expand Down
2 changes: 1 addition & 1 deletion lib/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2439,7 +2439,7 @@ export async function createNodejsBom(path, options) {
if (process.env?.CDXGEN_IN_CONTAINER === "true") {
if (arch() !== "x64") {
console.log(
`INFO: Many npm packages have limited support for ${arch()} architecture.\nRun the cdxgen container image with --platform=linux/amd64 for best experience.`,
`INFO: Many npm packages have limited support for ${arch()} architecture. Run the cdxgen container image with --platform=linux/amd64 for best experience.`,
);
} else {
console.log(
Expand Down
2 changes: 1 addition & 1 deletion lib/helpers/envcontext.js
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ export function performBundleInstall(
) {
if (arch() !== "x64") {
console.log(
`INFO: Many Ruby packages have limited support for ${arch()} architecture.\nRun the cdxgen container image with --platform=linux/amd64 for best experience.`,
`INFO: Many Ruby packages have limited support for ${arch()} architecture. Run the cdxgen container image with --platform=linux/amd64 for best experience.`,
);
}
let installArgs = ["install"];
Expand Down
4 changes: 2 additions & 2 deletions lib/stages/pregen/pregen.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function preparePythonEnv(_filePath, options) {
if (hasAnyProjectType(["python"], options, false)) {
if (process.env?.CDXGEN_IN_CONTAINER !== "true" && arch() !== "x64") {
console.log(
`INFO: Many pypi packages have limited support for ${arch()} architecture.\nRun the cdxgen container image with --platform=linux/amd64 for best experience.`,
`INFO: Many pypi packages have limited support for ${arch()} architecture. Run the cdxgen container image with --platform=linux/amd64 for best experience.`,
);
}
if (platform() === "win32") {
Expand Down Expand Up @@ -276,7 +276,7 @@ export function prepareSwiftEnv(filePath, options) {
arch() !== "x64"
) {
console.log(
"INFO: Swift for Linux has known issues on non x64 machines.\nRun the cdxgen container image with --platform=linux/amd64 for best experience.",
"INFO: Swift for Linux has known issues on non x64 machines. Run the cdxgen container image with --platform=linux/amd64 for best experience.",
);
}
if (options.deep || options?.lifecycle?.includes("post-build")) {
Expand Down

0 comments on commit 9a582e8

Please sign in to comment.