Skip to content

Commit

Permalink
Merge pull request #39 from devsapp/remove-macos-action
Browse files Browse the repository at this point in the history
remove macos action and format ts
  • Loading branch information
rsonghuster authored Jan 15, 2025
2 parents 5be80ed + 63c2570 commit 75fcafd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 83 deletions.
80 changes: 0 additions & 80 deletions .github/workflows/ci_with_docker_macos.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions src/subCommands/layer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ export default class Layer {
return fileName;
}
let codeUrl = url;
if (process.env.FC_REGION !== this.region && this.region !== 'cn-heyuan-acdr-1'){
if (process.env.FC_REGION !== this.region && this.region !== 'cn-heyuan-acdr-1') {
codeUrl = url.replace('-internal.aliyuncs.com', '.aliyuncs.com');
}

await downloads(codeUrl, {
dest: localDir,
filename: version,
Expand Down
2 changes: 1 addition & 1 deletion src/subCommands/sync/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default class Sync {
logger.debug(`clear sync code path: ${codePath}`);

let codeUrl = url;
if (process.env.FC_REGION === this.region){
if (process.env.FC_REGION === this.region) {
codeUrl = url.replace('.aliyuncs.com', '-internal.aliyuncs.com');
}

Expand Down

0 comments on commit 75fcafd

Please sign in to comment.