Comments (6)
That's a good point - I will include that shortly! Thanks for trying it out - I'll close this issue out, but if you have any other issues then feel free to open another!
from postman-local.
Thanks for filing an issue!
For step 4, what did you change the log to? I'm guessing you're providing a random example, but if you intended to go from 'bla bla' -> 'walo walo wlao', I can see the change fed through in your screenshot. I can't reproduce currently but am observing an issue with a null
directory being created which will be resolved in next release.
from postman-local.
Hello @matt-ball what you mentioned is exactly what I changed and you are right about the null directory I've remarked that as well (but forgot to fill an issue for it :( )
The change is synced and the request is successfully run.
It is the amount of generated code that makes the scripts unreadable in Postman GUI that causes the problem.
Unfortunate you can't reproduce it. Let's wait to see if other fellas running into this issue.
from postman-local.
Got it - so if you look at line 2 of your screenshot, the change came through.
Because the CLI is all about viewing and editing your scripts locally - there is some extra bundled code that will appear in Postman only. There is currently a decision to be made - using the CLI workflow, or continuing to edit your scripts in Postman. It's difficult to enable the best of both worlds right now. The extra code you're seeing is what enables being able to require local files and other packages on npm.
So things are working as expected - that additional bundled code is something I want to tidy up #12 so doesn't inhibit usage from a local perspective.
The null issue has been fixed if you update to 0.0.25 😄
from postman-local.
Got it, thanks for clarification !
It's maybe worth it to add a little note in the README as the behavior is not really obvious from a user perspective.
I updated the package and the null directory fix seems working good 👍
from postman-local.
README updated in #25
from postman-local.
Related Issues (15)
- Clean up sync.js
- Sync request/response data
- `clone` improvements
- Improve bundling HOT 1
- Support operations for other Postman functionality
- postman boostrap failing in mapItemToFile HOT 5
- postman env error when no environments have been defined HOT 1
- Autogenerate blank test scripts HOT 1
- Create documentation for basic file structure of a Postman collection after importing into directory
- Unable to import environment other than localhost HOT 4
- Unhandled Promise rejection on setup when no environments exist.
- Built-in libraries from the Postman Sandbox aren't included when running postman sync.
- Error when adding scripts to a request previously bootstrapped with none.
- Enable 2-way sync HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postman-local.