-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
feda660
commit 69e3c4b
Showing
64 changed files
with
11,326 additions
and
3,568 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
|
||
const directory = './dist/axe-os'; | ||
|
||
fs.readdir(directory, (err, files) => { | ||
if (err) throw err; | ||
|
||
for (const file of files) { | ||
if (!file.endsWith('.gz')) { | ||
fs.unlink(path.join(directory, file), err => { | ||
if (err) throw err; | ||
}); | ||
} | ||
} | ||
}); |
Oops, something went wrong.