Skip to content

Commit

Permalink
examples automation, pin eslint to 0.8.57 (#8129)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft authored Apr 23, 2024
1 parent 3e0781e commit 50a0474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/azure-rest-api-specs-examples-automation/js/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def lint(self) -> JsLintResult:
cmd = [npm_cmd, 'install', self.module, '--save', '--save-exact']
check_call(cmd, tmp_dir_name)

cmd = [npm_cmd, 'install', 'eslint', '--save-dev']
cmd = [npm_cmd, 'install', 'eslint@8.57.0', '--save-dev']
check_call(cmd, tmp_dir_name)

with open(path.join(tmp_dir_name, 'package.json'), encoding='utf-8') as f:
Expand Down

0 comments on commit 50a0474

Please sign in to comment.