This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = async function (config) { | |
| try { | |
| // Negative Lookahead on comments line | |
| const key = `^(?!#)${config.param}`; | |
| // Get Base image from Dockerfile.CI | |
| const dockerfileCIResults = await findStringByKey(config, key); | |
| const dockerFileConfig = { path: 'Dockerfile', param: config.param }; | |
| const dockerfileResults = await findStringByKey(dockerFileConfig, key); | |
| if (dockerfileCIResults.length > 0) { | |
| // Compare the last FROM ocurrency for both files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Qed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Qed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pub fn { | |
| buzzfizz | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gist |
NewerOlder