mirror of
https://github.com/sasjs/lint.git
synced 2026-01-08 04:50:07 +00:00
chore(*): revert change to example file
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
import { formatFile } from './format/formatFile'
|
|
||||||
import path from 'path'
|
|
||||||
import { formatText } from './format/formatText'
|
import { formatText } from './format/formatText'
|
||||||
import { lintText } from './lint'
|
import { lintText } from './lint'
|
||||||
|
|
||||||
@@ -9,17 +7,15 @@ const content = `%put 'Hello';
|
|||||||
%put 'test';
|
%put 'test';
|
||||||
%mend;\r\n`
|
%mend;\r\n`
|
||||||
|
|
||||||
// console.log(content)
|
console.log(content)
|
||||||
// lintText(content).then((diagnostics) => {
|
lintText(content).then((diagnostics) => {
|
||||||
// console.log('Before Formatting:')
|
console.log('Before Formatting:')
|
||||||
// console.table(diagnostics)
|
console.table(diagnostics)
|
||||||
// formatText(content).then((formattedText) => {
|
formatText(content).then((formattedText) => {
|
||||||
// lintText(formattedText).then((newDiagnostics) => {
|
lintText(formattedText).then((newDiagnostics) => {
|
||||||
// console.log('After Formatting:')
|
console.log('After Formatting:')
|
||||||
// console.log(formattedText)
|
console.log(formattedText)
|
||||||
// console.table(newDiagnostics)
|
console.table(newDiagnostics)
|
||||||
// })
|
})
|
||||||
// })
|
})
|
||||||
// })
|
})
|
||||||
|
|
||||||
formatFile(path.join(__dirname, 'Example File.sas'))
|
|
||||||
|
|||||||
Reference in New Issue
Block a user