fix gitignore generation

This commit is contained in:
Joseph Garrone 2021-03-09 03:04:59 +01:00
parent 66a218c2ec
commit 72d267853c
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "keycloakify", "name": "keycloakify",
"version": "0.2.2", "version": "0.2.3",
"description": "Keycloak theme generator for Reacts app", "description": "Keycloak theme generator for Reacts app",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,7 +1,7 @@
import { transformCodebase } from "../tools/transformCodebase"; import { transformCodebase } from "../tools/transformCodebase";
import * as fs from "fs"; import * as fs from "fs";
import { join as pathJoin } from "path"; import { join as pathJoin, basename as pathBasename } from "path";
import { import {
replaceImportFromStaticInCssCode, replaceImportFromStaticInCssCode,
replaceImportFromStaticInJsCode replaceImportFromStaticInJsCode
@ -128,7 +128,7 @@ export function generateKeycloakThemeResources(
Buffer.from([ Buffer.from([
resourcesPath, resourcesPath,
resourcesCommonPath resourcesCommonPath
].join("\n")) ].map(s=>pathBasename(s)).join("\n"))
); );
fs.writeFileSync( fs.writeFileSync(