Skip to content

Commit eb480a5

Browse files
Merge branch 'hotfix/1.5.0'
2 parents b0f9d35 + 6dc0f46 commit eb480a5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"automating-code-creation",
1010
"code-generation"
1111
],
12-
"version": "1.4.0",
12+
"version": "1.5.0",
1313
"license": "ISC",
1414
"bin": {
1515
"create-snippet": "./dist/bin/index.js"

src/modules/cache/cache.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export class ModuleCache {
55
private cacheDir: string
66

77
constructor() {
8-
this.cacheDir = 'cache'
8+
this.cacheDir = path.join(__dirname, '..', '..', '__cache__')
99
if (!fs.existsSync(this.cacheDir)) {
1010
fs.mkdirSync(this.cacheDir)
1111
}

src/modules/cache/cache.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import path from 'path'
1212
import { ModuleCache } from './cache.module'
1313

1414
describe('ModuleCache', () => {
15-
const cacheDir = 'cache'
15+
const cacheDir = path.join(__dirname, '..', '..', '__cache__')
1616
let cache: ModuleCache
1717

1818
beforeAll(() => {

0 commit comments

Comments
 (0)