Skip to content

Commit

Permalink
[Travis CI] Using autorest 2.0.4152 to get bug fix on reporting on me…
Browse files Browse the repository at this point in the history
…m:/// instead of file:/// (#1775)

* Using autorest 2.0.4152 to get bug fix on reporting on mem:/// instead of file:///

* Updating features file to test the CI

* Revert "Updating features file to test the CI"

This reverts commit c215910.
  • Loading branch information
vishrutshah authored Oct 2, 2017
1 parent 74bd530 commit 88a9e98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/momentOfTruth.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let configsToProcess = utils.getConfigFilesChangedInPR();
let targetBranch = utils.getTargetBranch();
let sourceBranch = utils.getSourceBranch();
let pullRequestNumber = utils.getPullRequestNumber();
let linterCmd = `npx autorest@latest --validation --azure-validator --message-format=json `;
let linterCmd = `npx autorest@2.0.4152 --validation --azure-validator --message-format=json `;
let gitCheckoutCmd = `git checkout ${targetBranch}`;
let gitLogCmd = `git log -3`;
var filename = `${pullRequestNumber}_${utils.getTimeStamp()}.json`;
Expand Down
2 changes: 1 addition & 1 deletion test/linter.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function getTagsFromConfig(config) {
}

function execLinterCommand(args) {
var cmd = `npx autorest@latest --validation --azure-validator --message-format=json ${args}`.trim();
var cmd = `npx autorest@2.0.4152 --validation --azure-validator --message-format=json ${args}`.trim();
console.log(`Executing: ${cmd}`);
try {
let result = execSync(cmd, { encoding: 'utf8', maxBuffer: 1024 * 1024 * 64 });
Expand Down

0 comments on commit 88a9e98

Please sign in to comment.