Skip to content

Commit d235968

Browse files
committed
CLOUDP-298233: use JS instead of cjs
1 parent 5ba5c86 commit d235968

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

tools/.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
golang 1.23.0
2+
nodejs 22.11.0

tools/postman/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ transform_collection:
1919

2020
.PHONY: transform_collection_js
2121
transform_collection_js:
22-
node ./scripts/transform-postman.cjs
22+
node ./scripts/transform-postman.js
2323

2424
.PHONY: transform_collection_test
2525
transform_collection_test:

tools/postman/scripts/transform-postman.cjs renamed to tools/postman/scripts/transform-postman.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const fs = require('fs');
2-
const path = require('path');
3-
const _ = require('lodash');
1+
import fs from 'fs'
2+
import path from 'path';
3+
import _ from 'lodash';
44

55
/**
66
# Prepare collection for Postman API

0 commit comments

Comments
 (0)