| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
some nits but 🚢
Sorry, something went wrong.
|
|
||
| import {Command, flags} from '@oclif/command' | ||
|
|
||
| const path = require('path') |
There was a problem hiding this comment.
nit: why not use import?
Sorry, something went wrong.
| let filePathAlterations = await file.generateNewFilePath(flags.out, flags.in, isQnA, 'alterations_', fileExtEnum.QnAFile) | ||
| let validatedPath = utils.validatePath(filePathAlterations, '', flags.force) | ||
| await fs.writeFile(validatedPath, JSON.stringify(convertedObject.finalQnAAlterations, null, 2), 'utf-8') | ||
| const validatedPathAlter = utils.validatePath(filePathAlterations, '', flags.force) |
There was a problem hiding this comment.
nit: validatedPathAlter is less readable than validatedAlterationsPath
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.