Skip to content

Commit 6fd18e8

Browse files
author
alexlee-dev
committed
💬 Add comment on verifyNodeVersion()
1 parent b53c65b commit 6fd18e8

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- Added [siliconeidolon](https://github.com/siliconeidolon) to acknowledgements
13+
- Comments on `verifyNodeVersion()`
1314

1415
### Changed
1516

src/util.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ export const validateApplicationName = (applicationName: any) => {
121121
}
122122
};
123123

124+
/**
125+
* Verifies that the application can run. Needs >= Node v10.0.0
126+
*/
124127
export const verifyNodeVersion = (): void => {
125128
if (!semver.satisfies(process.version, ">=10.0.0")) {
126129
console.error(

0 commit comments

Comments
 (0)