Skip to content

Commit

Permalink
ruby ruby ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek authored Oct 12, 2023
1 parent 6b5bc88 commit 9104ab8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .autofix/fixers/update-lang-ruby.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ exports.register = async (fixers) => {
}

fixers[0].push({
id: 'update-lang-go',
id: 'update-lang-ruby',
cmd: Object.keys(patchVersionReplacements).map(pattern => {
return `sed ${os.type() === 'Darwin' ? '-i "" -E' : '-i -e'} "s/\\(RUBY_VERSION.*\\)${pattern}/\\1${patchVersionReplacements[pattern]}/g" chunks/lang-ruby/chunk.yaml`;
}).join('\n'),
description: 'update lang go',
return `sed ${os.type() === 'Darwin' ? '-i "" -E' : '-i -e'} "s/\\(RUBY_VERSION.*\\)${pattern}/\\1${patchVersionReplacements[pattern]}/g" chunks/lang-ruby/chunk.yaml`;
}).join('\n'),
description: 'update lang ruby',
});
};

0 comments on commit 9104ab8

Please sign in to comment.