fix review points
This commit is contained in:
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@@ -105297,7 +105297,7 @@ function getVersionFromFileContent(content, distributionName) {
|
||||
}
|
||||
// By convention, action expects version 8 in the format `8.*` instead of `1.8`
|
||||
function avoidOldNotation(content) {
|
||||
return content.substring(0, 2) === '1.' ? content.substring(2) : content;
|
||||
return content.startsWith('1.') ? content.substring(2) : content;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user