Skip to content

Commit

Permalink
fix: update log message
Browse files Browse the repository at this point in the history
  • Loading branch information
favoyang committed Oct 25, 2022
1 parent 87cd651 commit 6532253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default class RedisStorage implements IPluginStorage<RedisConfig> {
try {
await this.redisClient.call("FT.CREATE", "ve-pkg-stat-idx", "ON", "HASH", "PREFIX", "1", "ve:pkg:", "SCHEMA", "stat", "TEXT");
const result: any = await this.redisClient.call('FT.INFO', 've-pkg-stat-idx');
this.logger.warn({ indexName: result[1] }, "[verdaccio-redis-storage] index @{indexName} is ready");
this.logger.warn({ indexName: result[1] }, "[verdaccio/redis] created index @{indexName}");
} catch (error) {
}
}
Expand Down

0 comments on commit 6532253

Please sign in to comment.