Skip to content

Commit

Permalink
awk
Browse files Browse the repository at this point in the history
  • Loading branch information
milankomaj authored Aug 2, 2024
1 parent 439cd0d commit c1e26b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: E-build
id: esbuild
run: |
sed 's/import SVGO from "svgo"/g' ${{ github.workspace }}/updater.js
awk '!/import SVGO from 'svgo';/' ${{ github.workspace }}/updater.js > temp && mv temp ${{ github.workspace }}/updater.js
npm run E-build
rm -r ${{ github.workspace }}/node_modules
node ./dist/esbuild_updater.js ${{github.repository_owner}} -info
Expand Down
2 changes: 1 addition & 1 deletion updater.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { readFileSync, writeFileSync } from 'fs';
import handlebars from 'handlebars';
import GithubUser from './src/github.js';
import SVGO from "svgo"
import SVGO from 'svgo';
// import nunjucks from 'nunjucks';
//* nunjucks.configure({ autoescape: true });
// import { networkInterfaces } from 'os';
Expand Down

0 comments on commit c1e26b2

Please sign in to comment.